All of lore.kernel.org
 help / color / mirror / Atom feed
* [peterz-queue:sched/urgent 6/7] include/linux/irq_work.h:39:20: sparse: note: previously declared as:
@ 2020-06-16  5:32 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-06-16  5:32 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2335 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/urgent
head:   0602ec6c74e25dcb8a43961b00eef168fafb8e5e
commit: 2726fde5f3900552fcae2d2ac07a05ffba11a491 [6/7] irq_work: Cleanup
:::::: branch date: 5 hours ago
:::::: commit date: 5 hours ago
config: powerpc-randconfig-s032-20200615 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-rc1-3-g55607964-dirty
        git checkout 2726fde5f3900552fcae2d2ac07a05ffba11a491
        # save the attached .config to linux build tree
        make W=1 C=1 ARCH=powerpc CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

   arch/powerpc/kernel/time.c:134:1: sparse: sparse: symbol 'rtc_lock' was not declared. Should it be static?
   arch/powerpc/kernel/time.c:527:1: sparse: sparse: symbol 'irq_work_pending' redeclared with different type (different base types):
>> arch/powerpc/kernel/time.c:527:1: sparse:    unsigned char static [addressable] [noderef] [toplevel] [usertype] <asn:3> irq_work_pending
>> include/linux/irq_work.h:39:20: sparse: note: previously declared as:
>> include/linux/irq_work.h:39:20: sparse:    bool static inline [gnu_inline] [toplevel] [unsigned] irq_work_pending( ... )

# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=2726fde5f3900552fcae2d2ac07a05ffba11a491
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git remote update peterz-queue
git checkout 2726fde5f3900552fcae2d2ac07a05ffba11a491
vim +39 include/linux/irq_work.h

e360adbe29241a0 Peter Zijlstra      2010-10-14  38  
2726fde5f390055 Peter Zijlstra      2020-06-15 @39  static inline bool irq_work_pending(struct irq_work *work)
2726fde5f390055 Peter Zijlstra      2020-06-15  40  {
2726fde5f390055 Peter Zijlstra      2020-06-15  41  	return atomic_read(&work->node.a_flags) & IRQ_WORK_PENDING;
153bedbac2ebd47 Frederic Weisbecker 2019-11-08  42  }
153bedbac2ebd47 Frederic Weisbecker 2019-11-08  43  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34529 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [peterz-queue:sched/urgent 6/7] include/linux/irq_work.h:39:20: sparse: note: previously declared as:
@ 2020-06-15 16:54 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-06-15 16:54 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2411 bytes --]

CC: kbuild-all(a)lists.01.org
TO: Peter Zijlstra <peterz@infradead.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/urgent
head:   0602ec6c74e25dcb8a43961b00eef168fafb8e5e
commit: 2726fde5f3900552fcae2d2ac07a05ffba11a491 [6/7] irq_work: Cleanup
:::::: branch date: 5 hours ago
:::::: commit date: 5 hours ago
config: powerpc-randconfig-s032-20200615 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-rc1-3-g55607964-dirty
        git checkout 2726fde5f3900552fcae2d2ac07a05ffba11a491
        # save the attached .config to linux build tree
        make W=1 C=1 ARCH=powerpc CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

   arch/powerpc/kernel/time.c:134:1: sparse: sparse: symbol 'rtc_lock' was not declared. Should it be static?
   arch/powerpc/kernel/time.c:527:1: sparse: sparse: symbol 'irq_work_pending' redeclared with different type (different base types):
>> arch/powerpc/kernel/time.c:527:1: sparse:    unsigned char static [addressable] [noderef] [toplevel] [usertype] <asn:3> irq_work_pending
>> include/linux/irq_work.h:39:20: sparse: note: previously declared as:
>> include/linux/irq_work.h:39:20: sparse:    bool static inline [gnu_inline] [toplevel] [unsigned] irq_work_pending( ... )

# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=2726fde5f3900552fcae2d2ac07a05ffba11a491
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git remote update peterz-queue
git checkout 2726fde5f3900552fcae2d2ac07a05ffba11a491
vim +39 include/linux/irq_work.h

e360adbe29241a0 Peter Zijlstra      2010-10-14  38  
2726fde5f390055 Peter Zijlstra      2020-06-15 @39  static inline bool irq_work_pending(struct irq_work *work)
2726fde5f390055 Peter Zijlstra      2020-06-15  40  {
2726fde5f390055 Peter Zijlstra      2020-06-15  41  	return atomic_read(&work->node.a_flags) & IRQ_WORK_PENDING;
153bedbac2ebd47 Frederic Weisbecker 2019-11-08  42  }
153bedbac2ebd47 Frederic Weisbecker 2019-11-08  43  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34529 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-16  5:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-16  5:32 [peterz-queue:sched/urgent 6/7] include/linux/irq_work.h:39:20: sparse: note: previously declared as: kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-06-15 16:54 kernel test robot

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.