diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-20 15:08:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-21 15:05:08 +0200 |
commit | bda7d3ab06f19c02dcef61fefcb9dd954dfd5e4f (patch) | |
tree | 41ba79d49c9906cb3766f4fb22be7f5e742f597e /drivers/usb/cdns3/cdns3-plat.c | |
parent | 02625c965239b71869326dd0461615f27307ecb3 (diff) |
kgdb: fix gcc-11 warnings harder
40cc3a80bb42 ("kgdb: fix gcc-11 warning on indentation") tried to fix up
the gcc-11 complaints in this file by just reformatting the #defines.
That worked for gcc 11.1.0, but in gcc 11.1.1 as shipped by Fedora 34,
the warning came back for one of the #defines.
Fix this up again by putting { } around the if statement, now it is
quiet again.
Fixes: 40cc3a80bb42 ("kgdb: fix gcc-11 warning on indentation")
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Jason Wessel <jason.wessel@windriver.com>
Link: https://lore.kernel.org/r/20210520130839.51987-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions