* [mkp-scsi:for-next 15/20] drivers/ata/pata_buddha.c:255:63: warning: missing braces around initializer
@ 2026-07-13 22:00 kernel test robot
2026-07-14 5:05 ` Uwe Kleine-König (The Capable Hub)
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-07-13 22:00 UTC (permalink / raw)
To: Uwe Kleine-König (The Capable Hub)
Cc: oe-kbuild-all, Martin K. Petersen, Geert Uytterhoeven, Max Staudt
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next
head: 4afcc9ed6a57b1b87e55366f9ff10c1c43b6d6e8
commit: e73ba3d6ed03bf2afeecdfffc045b1ac98aeb1fc [15/20] scsi: zorro: Simplify storing pointers in device id struct
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20260714/202607140557.mhC5z0xE-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260714/202607140557.mhC5z0xE-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/202607140557.mhC5z0xE-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/linux/bvec.h:10,
from include/linux/blk_types.h:10,
from include/linux/blkdev.h:9,
from drivers/ata/pata_buddha.c:15:
include/linux/highmem.h: In function 'clear_user_pages':
include/linux/highmem.h:234:63: warning: parameter 'vaddr' set but not used [-Wunused-but-set-parameter=]
234 | static inline void clear_user_pages(void *addr, unsigned long vaddr,
| ~~~~~~~~~~~~~~^~~~~
drivers/ata/pata_buddha.c: At top level:
>> drivers/ata/pata_buddha.c:255:63: warning: missing braces around initializer [-Wmissing-braces]
255 | static const struct zorro_device_id pata_buddha_zorro_tbl[] = {
| ^
256 | { ZORRO_PROD_INDIVIDUAL_COMPUTERS_BUDDHA, BOARD_BUDDHA},
| { }
>> drivers/ata/pata_buddha.c:255:63: warning: missing braces around initializer [-Wmissing-braces]
255 | static const struct zorro_device_id pata_buddha_zorro_tbl[] = {
| ^
256 | { ZORRO_PROD_INDIVIDUAL_COMPUTERS_BUDDHA, BOARD_BUDDHA},
| { }
257 | { ZORRO_PROD_INDIVIDUAL_COMPUTERS_CATWEASEL, BOARD_CATWEASEL},
| { }
>> drivers/ata/pata_buddha.c:255:63: warning: missing braces around initializer [-Wmissing-braces]
255 | static const struct zorro_device_id pata_buddha_zorro_tbl[] = {
| ^
256 | { ZORRO_PROD_INDIVIDUAL_COMPUTERS_BUDDHA, BOARD_BUDDHA},
| { }
257 | { ZORRO_PROD_INDIVIDUAL_COMPUTERS_CATWEASEL, BOARD_CATWEASEL},
| { }
drivers/ata/pata_buddha.c: In function 'pata_buddha_late_init':
drivers/ata/pata_buddha.c:284:59: warning: missing braces around initializer [-Wmissing-braces]
284 | static struct zorro_device_id xsurf_ent = {
| ^
285 | ZORRO_PROD_INDIVIDUAL_COMPUTERS_X_SURF, BOARD_XSURF
| {
286 | };
| }
vim +255 drivers/ata/pata_buddha.c
740c68a0cd42aab Bartlomiej Zolnierkiewicz 2019-02-07 254
12ce6b0d21c2038 Max Staudt 2019-08-23 @255 static const struct zorro_device_id pata_buddha_zorro_tbl[] = {
12ce6b0d21c2038 Max Staudt 2019-08-23 256 { ZORRO_PROD_INDIVIDUAL_COMPUTERS_BUDDHA, BOARD_BUDDHA},
12ce6b0d21c2038 Max Staudt 2019-08-23 257 { ZORRO_PROD_INDIVIDUAL_COMPUTERS_CATWEASEL, BOARD_CATWEASEL},
12ce6b0d21c2038 Max Staudt 2019-08-23 258 { 0 }
12ce6b0d21c2038 Max Staudt 2019-08-23 259 };
12ce6b0d21c2038 Max Staudt 2019-08-23 260 MODULE_DEVICE_TABLE(zorro, pata_buddha_zorro_tbl);
12ce6b0d21c2038 Max Staudt 2019-08-23 261
:::::: The code at line 255 was first introduced by commit
:::::: 12ce6b0d21c2038ddae9da418aab198e284ad922 ata/pata_buddha: Probe via modalias instead of initcall
:::::: TO: Max Staudt <max@enpas.org>
:::::: CC: Jens Axboe <axboe@kernel.dk>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [mkp-scsi:for-next 15/20] drivers/ata/pata_buddha.c:255:63: warning: missing braces around initializer
2026-07-13 22:00 [mkp-scsi:for-next 15/20] drivers/ata/pata_buddha.c:255:63: warning: missing braces around initializer kernel test robot
@ 2026-07-14 5:05 ` Uwe Kleine-König (The Capable Hub)
0 siblings, 0 replies; 2+ messages in thread
From: Uwe Kleine-König (The Capable Hub) @ 2026-07-14 5:05 UTC (permalink / raw)
To: kernel test robot
Cc: oe-kbuild-all, Martin K. Petersen, Geert Uytterhoeven, Max Staudt
[-- Attachment #1: Type: text/plain, Size: 3943 bytes --]
Hello,
On Tue, Jul 14, 2026 at 06:00:00AM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next
> head: 4afcc9ed6a57b1b87e55366f9ff10c1c43b6d6e8
> commit: e73ba3d6ed03bf2afeecdfffc045b1ac98aeb1fc [15/20] scsi: zorro: Simplify storing pointers in device id struct
> config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20260714/202607140557.mhC5z0xE-lkp@intel.com/config)
> compiler: m68k-linux-gcc (GCC) 16.1.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260714/202607140557.mhC5z0xE-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/202607140557.mhC5z0xE-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
> In file included from include/linux/bvec.h:10,
> from include/linux/blk_types.h:10,
> from include/linux/blkdev.h:9,
> from drivers/ata/pata_buddha.c:15:
> include/linux/highmem.h: In function 'clear_user_pages':
> include/linux/highmem.h:234:63: warning: parameter 'vaddr' set but not used [-Wunused-but-set-parameter=]
> 234 | static inline void clear_user_pages(void *addr, unsigned long vaddr,
> | ~~~~~~~~~~~~~~^~~~~
> drivers/ata/pata_buddha.c: At top level:
> >> drivers/ata/pata_buddha.c:255:63: warning: missing braces around initializer [-Wmissing-braces]
> 255 | static const struct zorro_device_id pata_buddha_zorro_tbl[] = {
> | ^
> 256 | { ZORRO_PROD_INDIVIDUAL_COMPUTERS_BUDDHA, BOARD_BUDDHA},
> | { }
> >> drivers/ata/pata_buddha.c:255:63: warning: missing braces around initializer [-Wmissing-braces]
> 255 | static const struct zorro_device_id pata_buddha_zorro_tbl[] = {
> | ^
> 256 | { ZORRO_PROD_INDIVIDUAL_COMPUTERS_BUDDHA, BOARD_BUDDHA},
> | { }
> 257 | { ZORRO_PROD_INDIVIDUAL_COMPUTERS_CATWEASEL, BOARD_CATWEASEL},
> | { }
> >> drivers/ata/pata_buddha.c:255:63: warning: missing braces around initializer [-Wmissing-braces]
> 255 | static const struct zorro_device_id pata_buddha_zorro_tbl[] = {
> | ^
> 256 | { ZORRO_PROD_INDIVIDUAL_COMPUTERS_BUDDHA, BOARD_BUDDHA},
> | { }
> 257 | { ZORRO_PROD_INDIVIDUAL_COMPUTERS_CATWEASEL, BOARD_CATWEASEL},
> | { }
> drivers/ata/pata_buddha.c: In function 'pata_buddha_late_init':
> drivers/ata/pata_buddha.c:284:59: warning: missing braces around initializer [-Wmissing-braces]
> 284 | static struct zorro_device_id xsurf_ent = {
> | ^
> 285 | ZORRO_PROD_INDIVIDUAL_COMPUTERS_X_SURF, BOARD_XSURF
> | {
> 286 | };
> | }
The problem here is that patch #6 of
https://lore.kernel.org/all/cover.1779803053.git.u.kleine-koenig@baylibre.com/
was picked up, but patch #1 wasn't, maybe due to my confusion when
describing the merge plan.
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-14 5:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-13 22:00 [mkp-scsi:for-next 15/20] drivers/ata/pata_buddha.c:255:63: warning: missing braces around initializer kernel test robot
2026-07-14 5:05 ` Uwe Kleine-König (The Capable Hub)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.