* Re: [PATCH] md: yet another CI email test - do not review
2024-10-03 18:00 [PATCH] md: yet another CI email test - do not review Paul Luse
@ 2024-10-04 21:55 ` kernel test robot
2024-10-04 22:37 ` kernel test robot
1 sibling, 0 replies; 3+ messages in thread
From: kernel test robot @ 2024-10-04 21:55 UTC (permalink / raw)
To: Paul Luse, linux-raid; +Cc: oe-kbuild-all, paul.e.luse, Paul Luse
Hi Paul,
kernel test robot noticed the following build errors:
[auto build test ERROR on song-md/md-next]
[also build test ERROR on linus/master v6.12-rc1 next-20241004]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Paul-Luse/md-yet-another-CI-email-test-do-not-review/20241004-020247
base: https://git.kernel.org/pub/scm/linux/kernel/git/song/md.git md-next
patch link: https://lore.kernel.org/r/20241003180040.6808-1-paulluselinux%40gmail.com
patch subject: [PATCH] md: yet another CI email test - do not review
config: parisc-defconfig (https://download.01.org/0day-ci/archive/20241005/202410050528.RsgauQz4-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241005/202410050528.RsgauQz4-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/202410050528.RsgauQz4-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/md/raid1.c: In function 'check_and_add_serial':
>> drivers/md/raid1.c:68:9: error: 'xxx' undeclared (first use in this function)
68 | xxx
| ^~~
drivers/md/raid1.c:68:9: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/md/raid1.c:68:12: error: expected ';' before 'do'
68 | xxx
| ^
| ;
vim +/xxx +68 drivers/md/raid1.c
54
55 #define START(node) ((node)->start)
56 #define LAST(node) ((node)->last)
57 INTERVAL_TREE_DEFINE(struct serial_info, node, sector_t, _subtree_last,
58 START, LAST, static inline, raid1_rb);
59
60 static int check_and_add_serial(struct md_rdev *rdev, struct r1bio *r1_bio,
61 struct serial_info *si, int idx)
62 {
63 unsigned long flags;
64 int ret = 0;
65 sector_t lo = r1_bio->sector;
66 sector_t hi = lo + r1_bio->sectors;
67 struct serial_in_rdev *serial = &rdev->serial[idx];
> 68 xxx
69 spin_lock_irqsave(&serial->serial_lock, flags);
70 /* collision happened */
71 if (raid1_rb_iter_first(&serial->serial_rb, lo, hi))
72 ret = -EBUSY;
73 else {
74 si->start = lo;
75 si->last = hi;
76 raid1_rb_insert(si, &serial->serial_rb);
77 }
78 spin_unlock_irqrestore(&serial->serial_lock, flags);
79
80 return ret;
81 }
82
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] md: yet another CI email test - do not review
2024-10-03 18:00 [PATCH] md: yet another CI email test - do not review Paul Luse
2024-10-04 21:55 ` kernel test robot
@ 2024-10-04 22:37 ` kernel test robot
1 sibling, 0 replies; 3+ messages in thread
From: kernel test robot @ 2024-10-04 22:37 UTC (permalink / raw)
To: Paul Luse, linux-raid; +Cc: oe-kbuild-all, paul.e.luse, Paul Luse
Hi Paul,
kernel test robot noticed the following build errors:
[auto build test ERROR on song-md/md-next]
[also build test ERROR on linus/master v6.12-rc1 next-20241004]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Paul-Luse/md-yet-another-CI-email-test-do-not-review/20241004-020247
base: https://git.kernel.org/pub/scm/linux/kernel/git/song/md.git md-next
patch link: https://lore.kernel.org/r/20241003180040.6808-1-paulluselinux%40gmail.com
patch subject: [PATCH] md: yet another CI email test - do not review
config: um-randconfig-r072-20241005 (https://download.01.org/0day-ci/archive/20241005/202410050657.UecRCw2W-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project fef3566a25ff0e34fb87339ba5e13eca17cec00f)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241005/202410050657.UecRCw2W-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/202410050657.UecRCw2W-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/md/raid1.c:28:
In file included from include/linux/blkdev.h:9:
In file included from include/linux/blk_types.h:10:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:8:
In file included from include/linux/cacheflush.h:5:
In file included from arch/um/include/asm/cacheflush.h:4:
In file included from arch/um/include/asm/tlbflush.h:9:
In file included from include/linux/mm.h:2177:
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
In file included from drivers/md/raid1.c:28:
In file included from include/linux/blkdev.h:9:
In file included from include/linux/blk_types.h:10:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:12:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:5:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
547 | val = __raw_readb(PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
560 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr));
| ~~~~~~~~~~ ^
include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu'
37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x))
| ^
In file included from drivers/md/raid1.c:28:
In file included from include/linux/blkdev.h:9:
In file included from include/linux/blk_types.h:10:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:12:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:5:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
573 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr));
| ~~~~~~~~~~ ^
include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu'
35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
| ^
In file included from drivers/md/raid1.c:28:
In file included from include/linux/blkdev.h:9:
In file included from include/linux/blk_types.h:10:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:12:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:5:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
584 | __raw_writeb(value, PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
594 | __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
604 | __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:692:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
692 | readsb(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:700:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
700 | readsw(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:708:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
708 | readsl(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:717:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
717 | writesb(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:726:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
726 | writesw(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:735:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
735 | writesl(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
>> drivers/md/raid1.c:68:2: error: use of undeclared identifier 'xxx'
68 | xxx
| ^
13 warnings and 1 error generated.
vim +/xxx +68 drivers/md/raid1.c
54
55 #define START(node) ((node)->start)
56 #define LAST(node) ((node)->last)
57 INTERVAL_TREE_DEFINE(struct serial_info, node, sector_t, _subtree_last,
58 START, LAST, static inline, raid1_rb);
59
60 static int check_and_add_serial(struct md_rdev *rdev, struct r1bio *r1_bio,
61 struct serial_info *si, int idx)
62 {
63 unsigned long flags;
64 int ret = 0;
65 sector_t lo = r1_bio->sector;
66 sector_t hi = lo + r1_bio->sectors;
67 struct serial_in_rdev *serial = &rdev->serial[idx];
> 68 xxx
69 spin_lock_irqsave(&serial->serial_lock, flags);
70 /* collision happened */
71 if (raid1_rb_iter_first(&serial->serial_rb, lo, hi))
72 ret = -EBUSY;
73 else {
74 si->start = lo;
75 si->last = hi;
76 raid1_rb_insert(si, &serial->serial_rb);
77 }
78 spin_unlock_irqrestore(&serial->serial_lock, flags);
79
80 return ret;
81 }
82
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread