summaryrefslogtreecommitdiff
path: root/drivers/fpga/xilinx-selectmap.c
diff options
context:
space:
mode:
authorDavid Gow <davidgow@google.com>2024-02-21 12:27:19 +0300
committerShuah Khan <skhan@linuxfoundation.org>2024-02-28 02:27:17 +0300
commitff3b96f2c9e5c24fca12239cd519a8a18569e687 (patch)
tree23d0206157ffecc1aff638fa75d75fda3e344223 /drivers/fpga/xilinx-selectmap.c
parent8a904a3caa88118744062e872ae90f37748a8fd8 (diff)
downloadlinux-ff3b96f2c9e5c24fca12239cd519a8a18569e687.tar.xz
net: test: Fix printf format specifier in skb_segment kunit test
KUNIT_FAIL() accepts a printf-style format string, but previously did not let gcc validate it with the __printf() attribute. The use of %lld for the result of PTR_ERR() is not correct. Instead, use %pe and pass the actual error pointer. printk() will format it correctly (and give a symbolic name rather than a number if available, which should make the output more readable, too). Fixes: b3098d32ed6e ("net: add skb_segment kunit test") Signed-off-by: David Gow <davidgow@google.com> Tested-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Justin Stitt <justinstitt@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions