From: kernel test robot <lkp@intel.com>
To: Marwin Hormiz <marwinhormiz@gmail.com>,
dpenkler@gmail.com, gregkh@linuxfoundation.org
Cc: oe-kbuild-all@lists.linux.dev, dan.carpenter@linaro.org,
matchstick@neverthere.org, arnd@arndb.de,
niharchaithanya@gmail.com, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org,
Marwin Hormiz <marwinhormiz@gmail.com>
Subject: Re: [PATCH 1/1] staging: gpib: gpio: Fix memory allocation style in gpib_bitbang.c
Date: Tue, 22 Apr 2025 14:33:35 +0800 [thread overview]
Message-ID: <202504221447.i7O7WGlW-lkp@intel.com> (raw)
In-Reply-To: <20250421184144.220972-1-marwinhormiz@gmail.com>
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@intel.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
prev parent reply other threads:[~2025-04-22 6:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-21 18:41 [PATCH 1/1] staging: gpib: gpio: Fix memory allocation style in gpib_bitbang.c Marwin Hormiz
2025-04-22 2:09 ` kernel test robot
2025-04-22 6:19 ` Arnd Bergmann
2025-04-22 6:33 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202504221447.i7O7WGlW-lkp@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=dan.carpenter@linaro.org \
--cc=dpenkler@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=marwinhormiz@gmail.com \
--cc=matchstick@neverthere.org \
--cc=niharchaithanya@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox