[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202504221447.i7O7WGlW-lkp@intel.com>
Date: Tue, 22 Apr 2025 14:33:35 +0800
From: kernel test robot <lkp@...el.com>
To: Marwin Hormiz <marwinhormiz@...il.com>, dpenkler@...il.com,
gregkh@...uxfoundation.org
Cc: oe-kbuild-all@...ts.linux.dev, dan.carpenter@...aro.org,
matchstick@...erthere.org, arnd@...db.de, niharchaithanya@...il.com,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org,
Marwin Hormiz <marwinhormiz@...il.com>
Subject: Re: [PATCH 1/1] staging: gpib: gpio: Fix memory allocation style in
gpib_bitbang.c
Hi Marwin,
kernel test robot noticed the following build warnings:
[auto build test WARNING on staging/staging-testing]
url: https://github.com/intel-lab-lkp/linux/commits/Marwin-Hormiz/staging-gpib-gpio-Fix-memory-allocation-style-in-gpib_bitbang-c/20250422-024547
base: staging/staging-testing
patch link: https://lore.kernel.org/r/20250421184144.220972-1-marwinhormiz%40gmail.com
patch subject: [PATCH 1/1] staging: gpib: gpio: Fix memory allocation style in gpib_bitbang.c
config: nios2-randconfig-002-20250422 (https://download.01.org/0day-ci/archive/20250422/202504221447.i7O7WGlW-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250422/202504221447.i7O7WGlW-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504221447.i7O7WGlW-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/linux/device.h:15,
from drivers/staging/gpib/include/gpib_types.h:13,
from drivers/staging/gpib/include/gpibP.h:12,
from drivers/staging/gpib/gpio/gpib_bitbang.c:56:
drivers/staging/gpib/gpio/gpib_bitbang.c: In function 'bb_read':
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:380:9: note: in expansion of macro 'dbg_printk'
380 | dbg_printk(3, ".........." LINFMT "\n", LINVAL);
| ^~~~~~~~~~
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:380:9: note: in expansion of macro 'dbg_printk'
380 | dbg_printk(3, ".........." LINFMT "\n", LINVAL);
| ^~~~~~~~~~
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:380:9: note: in expansion of macro 'dbg_printk'
380 | dbg_printk(3, ".........." LINFMT "\n", LINVAL);
| ^~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c: In function 'bb_DAV_interrupt':
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:453:17: note: in expansion of macro 'dbg_printk'
453 | dbg_printk(1, "out of order DAV interrupt %d/%d after %zu/%zu at %d cmd %d "
| ^~~~~~~~~~
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:453:17: note: in expansion of macro 'dbg_printk'
453 | dbg_printk(1, "out of order DAV interrupt %d/%d after %zu/%zu at %d cmd %d "
| ^~~~~~~~~~
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:453:17: note: in expansion of macro 'dbg_printk'
453 | dbg_printk(1, "out of order DAV interrupt %d/%d after %zu/%zu at %d cmd %d "
| ^~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c: In function 'bb_write':
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:550:25: note: in expansion of macro 'dbg_printk'
550 | dbg_printk(1, "timeout after %zu/%zu at %d " LINFMT " eoi: %d\n",
| ^~~~~~~~~~
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:550:25: note: in expansion of macro 'dbg_printk'
550 | dbg_printk(1, "timeout after %zu/%zu at %d " LINFMT " eoi: %d\n",
| ^~~~~~~~~~
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:550:25: note: in expansion of macro 'dbg_printk'
550 | dbg_printk(1, "timeout after %zu/%zu at %d " LINFMT " eoi: %d\n",
| ^~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c: In function 'bb_NRFD_interrupt':
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:610:17: note: in expansion of macro 'dbg_printk'
610 | dbg_printk(1, "out of order interrupt after %zu/%zu at %d cmd %d " LINFMT ".\n",
| ^~~~~~~~~~
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:610:17: note: in expansion of macro 'dbg_printk'
610 | dbg_printk(1, "out of order interrupt after %zu/%zu at %d cmd %d " LINFMT ".\n",
| ^~~~~~~~~~
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:610:17: note: in expansion of macro 'dbg_printk'
610 | dbg_printk(1, "out of order interrupt after %zu/%zu at %d cmd %d " LINFMT ".\n",
| ^~~~~~~~~~
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:617:17: note: in expansion of macro 'dbg_printk'
617 | dbg_printk(1, "DAV low after %zu/%zu cmd %d " LINFMT ". No action.\n",
| ^~~~~~~~~~
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:617:17: note: in expansion of macro 'dbg_printk'
617 | dbg_printk(1, "DAV low after %zu/%zu cmd %d " LINFMT ". No action.\n",
| ^~~~~~~~~~
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:617:17: note: in expansion of macro 'dbg_printk'
617 | dbg_printk(1, "DAV low after %zu/%zu cmd %d " LINFMT ". No action.\n",
| ^~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c: In function 'bb_NDAC_interrupt':
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:687:17: note: in expansion of macro 'dbg_printk'
687 | dbg_printk(1, "DAV high after %zu/%zu cmd %d " LINFMT ". No action.\n",
| ^~~~~~~~~~
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:687:17: note: in expansion of macro 'dbg_printk'
687 | dbg_printk(1, "DAV high after %zu/%zu cmd %d " LINFMT ". No action.\n",
| ^~~~~~~~~~
>> <command-line>: warning: format '%d' expects a matching 'int' argument [-Wformat=]
include/linux/dev_printk.h:139:49: note: in definition of macro 'dev_no_printk'
139 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); \
| ^~~
drivers/staging/gpib/gpio/gpib_bitbang.c:28:21: note: in expansion of macro 'KBUILD_MODNAME'
28 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:29:17: note: in expansion of macro 'pr_fmt'
29 | #define dev_fmt pr_fmt
| ^~~~~~
include/linux/dev_printk.h:171:40: note: in expansion of macro 'dev_fmt'
171 | dev_no_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:47:25: note: in expansion of macro 'dev_dbg'
47 | dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
| ^~~~~~~
drivers/staging/gpib/gpio/gpib_bitbang.c:687:17: note: in expansion of macro 'dbg_printk'
687 | dbg_printk(1, "DAV high after %zu/%zu cmd %d " LINFMT ". No action.\n",
| ^~~~~~~~~~
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists