* [PATCH] md: CI log retrival test - do not review
@ 2024-10-04 12:42 Paul Luse
2024-10-06 22:16 ` kernel test robot
2024-10-07 0:08 ` kernel test robot
0 siblings, 2 replies; 3+ messages in thread
From: Paul Luse @ 2024-10-04 12:42 UTC (permalink / raw)
To: linux-raid; +Cc: paul.e.luse, Paul Luse
Reminder to myself, do not delete the PR as it can
be re-used for more testing.
Signed-off-by: Paul Luse <paulluselinux@gmail.com>
---
drivers/md/raid1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c
index f55c8e67d059..e2e97a9e0b73 100644
--- a/drivers/md/raid1.c
+++ b/drivers/md/raid1.c
@@ -62,7 +62,7 @@ static int check_and_add_serial(struct md_rdev *rdev, struct r1bio *r1_bio,
sector_t lo = r1_bio->sector;
sector_t hi = lo + r1_bio->sectors;
struct serial_in_rdev *serial = &rdev->serial[idx];
-
+x
spin_lock_irqsave(&serial->serial_lock, flags);
/* collision happened */
if (raid1_rb_iter_first(&serial->serial_rb, lo, hi))
--
2.46.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] md: CI log retrival test - do not review
2024-10-04 12:42 [PATCH] md: CI log retrival test - do not review Paul Luse
@ 2024-10-06 22:16 ` kernel test robot
2024-10-07 0:08 ` kernel test robot
1 sibling, 0 replies; 3+ messages in thread
From: kernel test robot @ 2024-10-06 22:16 UTC (permalink / raw)
To: Paul Luse, linux-raid; +Cc: llvm, 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-CI-log-retrival-test-do-not-review/20241004-204420
base: https://git.kernel.org/pub/scm/linux/kernel/git/song/md.git md-next
patch link: https://lore.kernel.org/r/20241004124227.3540-1-paulluselinux%40gmail.com
patch subject: [PATCH] md: CI log retrival test - do not review
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20241007/202410070623.1WRxUPy0-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241007/202410070623.1WRxUPy0-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/202410070623.1WRxUPy0-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/md/raid1.c:68:1: error: use of undeclared identifier 'x'
68 | x
| ^
1 error generated.
vim +/x +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 x
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: CI log retrival test - do not review
2024-10-04 12:42 [PATCH] md: CI log retrival test - do not review Paul Luse
2024-10-06 22:16 ` kernel test robot
@ 2024-10-07 0:08 ` kernel test robot
1 sibling, 0 replies; 3+ messages in thread
From: kernel test robot @ 2024-10-07 0:08 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-CI-log-retrival-test-do-not-review/20241004-204420
base: https://git.kernel.org/pub/scm/linux/kernel/git/song/md.git md-next
patch link: https://lore.kernel.org/r/20241004124227.3540-1-paulluselinux%40gmail.com
patch subject: [PATCH] md: CI log retrival test - do not review
config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20241007/202410070615.9IATJLEA-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241007/202410070615.9IATJLEA-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/202410070615.9IATJLEA-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/md/raid1.c: In function 'check_and_add_serial':
>> drivers/md/raid1.c:68:1: error: 'x' undeclared (first use in this function)
68 | x
| ^
drivers/md/raid1.c:68:1: note: each undeclared identifier is reported only once for each function it appears in
drivers/md/raid1.c:68:2: error: expected ';' before 'do'
68 | x
| ^
| ;
vim +/x +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 x
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
end of thread, other threads:[~2024-10-07 0:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-04 12:42 [PATCH] md: CI log retrival test - do not review Paul Luse
2024-10-06 22:16 ` kernel test robot
2024-10-07 0:08 ` kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).