aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2025-03-13 09:15:53 +0000
committerMiquel Raynal <[email protected]>2025-03-18 16:18:19 +0000
commit6bc9f42739889eaaaa47b90f48e4ef8323efa3ea (patch)
tree839c619a05a99b1f45bce86574e541a9f45e116b /net/unix/unix_bpf.c
parentmtd: Fix error handling in mtd_device_parse_register() error path (diff)
downloadkernel-6bc9f42739889eaaaa47b90f48e4ef8323efa3ea.tar.gz
kernel-6bc9f42739889eaaaa47b90f48e4ef8323efa3ea.zip
mtd: mtdpart: Do not supply NULL to printf()
GCC compiler is not happy about NULL being supplied as printf() parameter: drivers/mtd/mtdpart.c:693:34: error: ā€˜%s’ directive argument is null [-Werror=format-overflow=] Move the code after the parser test for NULL, and drop the ternary completely. The user can deduct this since when it's not NULL two messages will be printed. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Zhihao Cheng <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions