From c13afc29e6a2d2a4c2cb052eaa0c96d2a19c9c17 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 27 Feb 2019 14:02:53 -0600 Subject: [PATCH] Trivial, Costmetic, ... --- arch/arm/src/lc823450/lc823450_usbdev.c | 2 +- tools/nxstyle.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/lc823450/lc823450_usbdev.c b/arch/arm/src/lc823450/lc823450_usbdev.c index b7d227cabe..2e5c7dc2d9 100644 --- a/arch/arm/src/lc823450/lc823450_usbdev.c +++ b/arch/arm/src/lc823450/lc823450_usbdev.c @@ -220,7 +220,7 @@ static void usbdev_pmnotify(struct pm_callback_s *cb, enum pm_state_e pmstate); static struct pm_callback_s g_pm_cb = { - .notify = usbdev_pmnotify, + .notify = usbdev_pmnotify, }; #endif diff --git a/tools/nxstyle.c b/tools/nxstyle.c index 64f465f201..b8e78fcd56 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -1004,7 +1004,7 @@ int main(int argc, char **argv, char **envp) int next; curr = n; - if (line[curr-1] != ' ') + if (line[curr - 1] != ' ') { fprintf(stderr, "Operator/assignment must be preceded with whitespace at line %d:%d\n",