aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorVasily Gorbik <[email protected]>2020-10-05 15:50:28 +0000
committerJosh Poimboeuf <[email protected]>2020-10-06 14:32:13 +0000
commit2486baae2cf6df73554144d0a4e40ae8809b54d4 (patch)
tree13ad1994cbfcc1028638cf0133b64e70c6958d94 /drivers/usb/cdns3/cdns3-imx.c
parentobjtool: Permit __kasan_check_{read,write} under UACCESS (diff)
downloadkernel-2486baae2cf6df73554144d0a4e40ae8809b54d4.tar.gz
kernel-2486baae2cf6df73554144d0a4e40ae8809b54d4.zip
objtool: Allow nested externs to enable BUILD_BUG()
Currently BUILD_BUG() macro is expanded to smth like the following: do { extern void __compiletime_assert_0(void) __attribute__((error("BUILD_BUG failed"))); if (!(!(1))) __compiletime_assert_0(); } while (0); If used in a function body this obviously would produce build errors with -Wnested-externs and -Werror. Build objtool with -Wno-nested-externs to enable BUILD_BUG() usage. Signed-off-by: Vasily Gorbik <[email protected]> Signed-off-by: Josh Poimboeuf <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions