]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
s390/lcs: add braces around empty function body
authorHeiko Carstens <hca@linux.ibm.com>
Thu, 18 Nov 2021 16:06:07 +0000 (17:06 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Nov 2021 11:12:30 +0000 (11:12 +0000)
commit09ae598271f8cfe46148cece8e03509b9da16334
tree89fd02d2a21edfbdc78d87f730ec0fb0c0184333
parentdddbf91387a04a03a8e071cb4857403df219382e
s390/lcs: add braces around empty function body

Fix allmodconfig + W=1 compile breakage:

drivers/s390/net/lcs.c: In function ‘lcs_get_frames_cb’:
drivers/s390/net/lcs.c:1823:25: error: suggest braces around empty body in an ‘else’ statement [-Werror=empty-body]
 1823 |                         ; // FIXME: error message ?
      |                         ^

Acked-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/lcs.c