All of lore.kernel.org
 help / color / mirror / Atom feed
* [pcmoore-audit:working-testing 5/6] kernel/audit.c:1457:34: error: 'struct mutex' has no member named 'owner'
@ 2016-11-11 21:32 kbuild test robot
  2016-11-12  1:29 ` Paul Moore
  0 siblings, 1 reply; 4+ messages in thread
From: kbuild test robot @ 2016-11-11 21:32 UTC (permalink / raw)
  To: Paul Moore; +Cc: XXX, linux-audit, kbuild-all

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

tree:   git://git.infradead.org/users/pcmoore/audit working-testing
head:   a49c8e50dda0d0232dfbed567608724c9666b6ab
commit: 20fb66989030c8f631d687ddaca75b9f7f2ee589 [5/6] Work in progress, no commit description yet.
config: mips-mtx1_defconfig (attached as .config)
compiler: mipsel-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
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 20fb66989030c8f631d687ddaca75b9f7f2ee589
        # 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/file.h:8:0,
                    from kernel/audit.c:46:
   kernel/audit.c: In function 'audit_log_start':
>> kernel/audit.c:1457:34: error: 'struct mutex' has no member named 'owner'
         (ACCESS_ONCE(audit_cmd_mutex.owner) != current)) {
                                     ^
   include/linux/compiler.h:518:25: note: in definition of macro '__ACCESS_ONCE'
      __maybe_unused typeof(x) __var = (__force typeof(x)) 0; \
                            ^
>> kernel/audit.c:1457:7: note: in expansion of macro 'ACCESS_ONCE'
         (ACCESS_ONCE(audit_cmd_mutex.owner) != current)) {
          ^~~~~~~~~~~
>> kernel/audit.c:1457:34: error: 'struct mutex' has no member named 'owner'
         (ACCESS_ONCE(audit_cmd_mutex.owner) != current)) {
                                     ^
   include/linux/compiler.h:518:52: note: in definition of macro '__ACCESS_ONCE'
      __maybe_unused typeof(x) __var = (__force typeof(x)) 0; \
                                                       ^
>> kernel/audit.c:1457:7: note: in expansion of macro 'ACCESS_ONCE'
         (ACCESS_ONCE(audit_cmd_mutex.owner) != current)) {
          ^~~~~~~~~~~
>> kernel/audit.c:1457:34: error: 'struct mutex' has no member named 'owner'
         (ACCESS_ONCE(audit_cmd_mutex.owner) != current)) {
                                     ^
   include/linux/compiler.h:519:19: note: in definition of macro '__ACCESS_ONCE'
     (volatile typeof(x) *)&(x); })
                      ^
>> kernel/audit.c:1457:7: note: in expansion of macro 'ACCESS_ONCE'
         (ACCESS_ONCE(audit_cmd_mutex.owner) != current)) {
          ^~~~~~~~~~~
>> kernel/audit.c:1457:34: error: 'struct mutex' has no member named 'owner'
         (ACCESS_ONCE(audit_cmd_mutex.owner) != current)) {
                                     ^
   include/linux/compiler.h:519:26: note: in definition of macro '__ACCESS_ONCE'
     (volatile typeof(x) *)&(x); })
                             ^
>> kernel/audit.c:1457:7: note: in expansion of macro 'ACCESS_ONCE'
         (ACCESS_ONCE(audit_cmd_mutex.owner) != current)) {
          ^~~~~~~~~~~

vim +1457 kernel/audit.c

  1451		 * 2. current != auditd
  1452		 * 3. ACCESS_ONCE(audit_cmd_mutex.owner) != current
  1453		 * 4. ???
  1454		 */
  1455	
  1456		if ((!audit_pid && audit_pid != current->tgid) &&
> 1457		    (ACCESS_ONCE(audit_cmd_mutex.owner) != current)) {
  1458			long sleep_time = audit_backlog_wait_time;
  1459	
  1460			while (audit_backlog_limit &&

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



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

* Re: [pcmoore-audit:working-testing 5/6] kernel/audit.c:1457:34: error: 'struct mutex' has no member named 'owner'
  2016-11-11 21:32 [pcmoore-audit:working-testing 5/6] kernel/audit.c:1457:34: error: 'struct mutex' has no member named 'owner' kbuild test robot
@ 2016-11-12  1:29 ` Paul Moore
  2016-11-14  0:26   ` Fengguang Wu
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Moore @ 2016-11-12  1:29 UTC (permalink / raw)
  To: kbuild test robot; +Cc: XXX, linux-audit, kbuild-all

On Fri, Nov 11, 2016 at 4:32 PM, kbuild test robot
<fengguang.wu@intel.com> wrote:
> tree:   git://git.infradead.org/users/pcmoore/audit working-testing
> head:   a49c8e50dda0d0232dfbed567608724c9666b6ab
> commit: 20fb66989030c8f631d687ddaca75b9f7f2ee589 [5/6] Work in progress, no commit description yet.
> config: mips-mtx1_defconfig (attached as .config)
> compiler: mipsel-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
> 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 20fb66989030c8f631d687ddaca75b9f7f2ee589
>         # 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/file.h:8:0,
>                     from kernel/audit.c:46:
>    kernel/audit.c: In function 'audit_log_start':
>>> kernel/audit.c:1457:34: error: 'struct mutex' has no member named 'owner'
>          (ACCESS_ONCE(audit_cmd_mutex.owner) != current)) {

Sorry for the noise folks, I wasn't aware the kbuiler robot was
watching this branch/repo.  I'll try to move my testing patches to a
new repo soon to avoid things like this.

-- 
paul moore
www.paul-moore.com

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

* Re: [pcmoore-audit:working-testing 5/6] kernel/audit.c:1457:34: error: 'struct mutex' has no member named 'owner'
  2016-11-12  1:29 ` Paul Moore
@ 2016-11-14  0:26   ` Fengguang Wu
  2016-11-14 15:12     ` Paul Moore
  0 siblings, 1 reply; 4+ messages in thread
From: Fengguang Wu @ 2016-11-14  0:26 UTC (permalink / raw)
  To: Paul Moore; +Cc: XXX, linux-audit, kbuild-all

Hi Paul,

On Fri, Nov 11, 2016 at 08:29:36PM -0500, Paul Moore wrote:
>On Fri, Nov 11, 2016 at 4:32 PM, kbuild test robot
><fengguang.wu@intel.com> wrote:
>> tree:   git://git.infradead.org/users/pcmoore/audit working-testing
>> head:   a49c8e50dda0d0232dfbed567608724c9666b6ab
>> commit: 20fb66989030c8f631d687ddaca75b9f7f2ee589 [5/6] Work in progress, no commit description yet.
>> config: mips-mtx1_defconfig (attached as .config)
>> compiler: mipsel-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
>> 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 20fb66989030c8f631d687ddaca75b9f7f2ee589
>>         # 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/file.h:8:0,
>>                     from kernel/audit.c:46:
>>    kernel/audit.c: In function 'audit_log_start':
>>>> kernel/audit.c:1457:34: error: 'struct mutex' has no member named 'owner'
>>          (ACCESS_ONCE(audit_cmd_mutex.owner) != current)) {
>
>Sorry for the noise folks, I wasn't aware the kbuiler robot was
>watching this branch/repo.  I'll try to move my testing patches to a
>new repo soon to avoid things like this.

I'm sorry too. The other way is for the robot to only send private
reports to the committer (ie. you) for the 'working-testing' branch.
Paul, would you like me to set it up like that?

Thanks,
Fengguang

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

* Re: [pcmoore-audit:working-testing 5/6] kernel/audit.c:1457:34: error: 'struct mutex' has no member named 'owner'
  2016-11-14  0:26   ` Fengguang Wu
@ 2016-11-14 15:12     ` Paul Moore
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Moore @ 2016-11-14 15:12 UTC (permalink / raw)
  To: Fengguang Wu; +Cc: XXX, linux-audit, kbuild-all

On Sun, Nov 13, 2016 at 7:26 PM, Fengguang Wu <fengguang.wu@intel.com> wrote:
> Hi Paul,
>
> On Fri, Nov 11, 2016 at 08:29:36PM -0500, Paul Moore wrote:
>>
>> On Fri, Nov 11, 2016 at 4:32 PM, kbuild test robot
>> <fengguang.wu@intel.com> wrote:
>>>
>>> tree:   git://git.infradead.org/users/pcmoore/audit working-testing
>>> head:   a49c8e50dda0d0232dfbed567608724c9666b6ab
>>> commit: 20fb66989030c8f631d687ddaca75b9f7f2ee589 [5/6] Work in progress,
>>> no commit description yet.
>>> config: mips-mtx1_defconfig (attached as .config)
>>> compiler: mipsel-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
>>> 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 20fb66989030c8f631d687ddaca75b9f7f2ee589
>>>         # 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/file.h:8:0,
>>>                     from kernel/audit.c:46:
>>>    kernel/audit.c: In function 'audit_log_start':
>>>>>
>>>>> kernel/audit.c:1457:34: error: 'struct mutex' has no member named
>>>>> 'owner'
>>>
>>>          (ACCESS_ONCE(audit_cmd_mutex.owner) != current)) {
>>
>>
>> Sorry for the noise folks, I wasn't aware the kbuiler robot was
>> watching this branch/repo.  I'll try to move my testing patches to a
>> new repo soon to avoid things like this.
>
> I'm sorry too. The other way is for the robot to only send private
> reports to the committer (ie. you) for the 'working-testing' branch.
> Paul, would you like me to set it up like that?

As long as it is the committer and not the patch author, I think that
would be okay.  Would it be possible to do the same for all branches
other than 'next' and 'stable-*'?

If you are tracking the SELinux repository, you could do the same for that repo.

-- 
paul moore
www.paul-moore.com

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

end of thread, other threads:[~2016-11-14 15:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-11 21:32 [pcmoore-audit:working-testing 5/6] kernel/audit.c:1457:34: error: 'struct mutex' has no member named 'owner' kbuild test robot
2016-11-12  1:29 ` Paul Moore
2016-11-14  0:26   ` Fengguang Wu
2016-11-14 15:12     ` Paul Moore

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.