From: kbuild test robot <lkp@intel.com>
To: Markos Chandras <markos.chandras@imgtec.com>
Cc: kbuild-all@01.org, linux-mips@linux-mips.org,
alex@alex-smith.me.uk, Alex Smith <alex.smith@imgtec.com>,
linux-kernel@vger.kernel.org,
Markos Chandras <markos.chandras@imgtec.com>
Subject: Re: [PATCH 3/3] MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime()
Date: Mon, 28 Sep 2015 21:15:08 +0800 [thread overview]
Message-ID: <201509282144.v7N80DGC%fengguang.wu@intel.com> (raw)
In-Reply-To: <1443435141-17197-1-git-send-email-markos.chandras@imgtec.com>
[-- Attachment #1: Type: text/plain, Size: 3691 bytes --]
Hi Alex,
[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]
config: mips-allyesconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 0253e397c40cca438922d8ee26cf716a29b1cd77
# save the attached .config to linux build tree
make.cross ARCH=mips
All error/warnings (new ones prefixed by >>):
In file included from include/linux/srcu.h:34:0,
from include/linux/notifier.h:15,
from arch/mips/include/asm/uprobes.h:9,
from include/linux/uprobes.h:61,
from include/linux/mm_types.h:13,
from arch/mips/include/asm/vdso.h:14,
from arch/mips/vdso/vdso.h:25,
from arch/mips/vdso/gettimeofday.c:11:
include/linux/workqueue.h: In function 'work_static':
>> include/linux/workqueue.h:186:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
return *work_data_bits(work) & WORK_STRUCT_STATIC;
^
cc1: all warnings being treated as errors
vim +186 include/linux/workqueue.h
dd6414b5 Phil Carmody 2010-10-20 170
65f27f38 David Howells 2006-11-22 171 #define DECLARE_WORK(n, f) \
65f27f38 David Howells 2006-11-22 172 struct work_struct n = __WORK_INITIALIZER(n, f)
65f27f38 David Howells 2006-11-22 173
65f27f38 David Howells 2006-11-22 174 #define DECLARE_DELAYED_WORK(n, f) \
f991b318 Tejun Heo 2012-08-21 175 struct delayed_work n = __DELAYED_WORK_INITIALIZER(n, f, 0)
65f27f38 David Howells 2006-11-22 176
203b42f7 Tejun Heo 2012-08-21 177 #define DECLARE_DEFERRABLE_WORK(n, f) \
f991b318 Tejun Heo 2012-08-21 178 struct delayed_work n = __DELAYED_WORK_INITIALIZER(n, f, TIMER_DEFERRABLE)
dd6414b5 Phil Carmody 2010-10-20 179
dc186ad7 Thomas Gleixner 2009-11-16 180 #ifdef CONFIG_DEBUG_OBJECTS_WORK
dc186ad7 Thomas Gleixner 2009-11-16 181 extern void __init_work(struct work_struct *work, int onstack);
dc186ad7 Thomas Gleixner 2009-11-16 182 extern void destroy_work_on_stack(struct work_struct *work);
ea2e64f2 Thomas Gleixner 2014-03-23 183 extern void destroy_delayed_work_on_stack(struct delayed_work *work);
4690c4ab Tejun Heo 2010-06-29 184 static inline unsigned int work_static(struct work_struct *work)
4690c4ab Tejun Heo 2010-06-29 185 {
22df02bb Tejun Heo 2010-06-29 @186 return *work_data_bits(work) & WORK_STRUCT_STATIC;
4690c4ab Tejun Heo 2010-06-29 187 }
dc186ad7 Thomas Gleixner 2009-11-16 188 #else
dc186ad7 Thomas Gleixner 2009-11-16 189 static inline void __init_work(struct work_struct *work, int onstack) { }
dc186ad7 Thomas Gleixner 2009-11-16 190 static inline void destroy_work_on_stack(struct work_struct *work) { }
ea2e64f2 Thomas Gleixner 2014-03-23 191 static inline void destroy_delayed_work_on_stack(struct delayed_work *work) { }
4690c4ab Tejun Heo 2010-06-29 192 static inline unsigned int work_static(struct work_struct *work) { return 0; }
dc186ad7 Thomas Gleixner 2009-11-16 193 #endif
dc186ad7 Thomas Gleixner 2009-11-16 194
:::::: The code at line 186 was first introduced by commit
:::::: 22df02bb3fab24af97bff4c69cc6fd8529fc66fe workqueue: define masks for work flags and conditionalize STATIC flags
:::::: TO: Tejun Heo <tj@kernel.org>
:::::: CC: Tejun Heo <tj@kernel.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 39251 bytes --]
next prev parent reply other threads:[~2015-09-28 13:15 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-28 10:03 [PATCH 0/3] MIPS VDSO support Markos Chandras
2015-09-28 10:10 ` [PATCH 1/3] MIPS: Initial implementation of a VDSO Markos Chandras
2015-09-28 10:54 ` Alex Smith
2015-09-28 13:07 ` Matthew Fortune
2015-11-20 18:15 ` Maciej W. Rozycki
2015-09-28 10:11 ` [PATCH 2/3] irqchip: irq-mips-gic: Provide function to map GIC user section Markos Chandras
2015-09-28 10:55 ` Marc Zyngier
2015-09-28 14:16 ` Qais Yousef
2015-09-28 15:03 ` Marc Zyngier
2015-10-05 8:22 ` Markos Chandras
2015-10-12 9:40 ` [PATCH v2 " Markos Chandras
2015-10-12 9:51 ` Marc Zyngier
2015-10-12 10:16 ` Thomas Gleixner
2015-10-15 9:37 ` Qais Yousef
2015-10-15 10:18 ` Thomas Gleixner
2015-09-28 10:12 ` [PATCH 3/3] MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime() Markos Chandras
2015-09-28 13:15 ` kbuild test robot [this message]
2015-10-12 10:24 ` [PATCH v2 " Markos Chandras
2015-10-21 8:57 ` [PATCH v3 " Markos Chandras
2015-10-23 1:41 ` [v3, " Leonid Yegoshin
2015-10-27 14:47 ` Ralf Baechle
2015-10-27 20:46 ` Leonid Yegoshin
2015-10-27 21:02 ` David Daney
2015-10-27 21:15 ` Leonid Yegoshin
2015-10-27 21:44 ` David Daney
2015-10-27 21:49 ` Leonid Yegoshin
2015-10-28 10:20 ` Alex Smith
2015-10-28 18:21 ` Leonid Yegoshin
2015-10-28 18:30 ` Alex Smith
2015-10-28 18:57 ` Leonid Yegoshin
2015-10-28 19:04 ` Alex Smith
2015-10-28 19:28 ` Leonid Yegoshin
2015-10-28 19:55 ` Alex Smith
2015-10-28 20:15 ` Leonid Yegoshin
2016-01-25 22:36 ` [PATCH v3 " Hauke Mehrtens
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=201509282144.v7N80DGC%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=alex.smith@imgtec.com \
--cc=alex@alex-smith.me.uk \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=markos.chandras@imgtec.com \
/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
all inboxes | Powered by JetHome®