aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2020-02-25 21:08:52 -0800
committerDavid S. Miller <davem@davemloft.net>2020-02-26 20:38:13 -0800
commitc535f9203209be19b60421b363b0bb2c7e90f298 (patch)
tree0e44c2cfcfd61bfe454f1e531976a2da5b50cd6e /mm
parentMerge tag 'mlx5-updates-2020-02-25' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux (diff)
downloadlinux-dev-c535f9203209be19b60421b363b0bb2c7e90f298.tar.xz
linux-dev-c535f9203209be19b60421b363b0bb2c7e90f298.zip
af_llc: fix if-statement empty body warning
When debugging via dprintk() is not enabled, make the dprintk() macro be an empty do-while loop, as is done in <linux/sunrpc/debug.h>. This fixes a gcc warning when -Wextra is set: ../net/llc/af_llc.c:974:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] I have verified that there is not object code change (with gcc 7.5.0). Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: netdev@vger.kernel.org Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions