mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Pali Rohár" <pali.rohar@gmail.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Security: Rename SELinux to NSALinux
Date: Fri, 1 Apr 2016 17:45:56 +0800	[thread overview]
Message-ID: <201604011740.451kMHRJ%fengguang.wu@intel.com> (raw)
In-Reply-To: <1459500196-26010-1-git-send-email-pali.rohar@gmail.com>

Hi Pali,

[auto build test WARNING on v4.6-rc1]
[cannot apply to pcmoore-selinux/next next-20160401]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Pali-Roh-r/Security-Rename-SELinux-to-NSALinux/20160401-165437
reproduce:
        # apt-get install sparse
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

   include/linux/compiler.h:232:8: sparse: attribute 'no_sanitize_address': unknown attribute
>> security/nsalinux/netnode.c:177:24: sparse: incompatible types in comparison expression (different address spaces)
--
   include/linux/compiler.h:232:8: sparse: attribute 'no_sanitize_address': unknown attribute
>> security/nsalinux/netport.c:125:24: sparse: incompatible types in comparison expression (different address spaces)

vim +177 security/nsalinux/netnode.c

224dfbd81 security/selinux/netnode.c Paul Moore    2008-01-29  161  	case PF_INET:
224dfbd81 security/selinux/netnode.c Paul Moore    2008-01-29  162  		idx = sel_netnode_hashfn_ipv4(node->nsec.addr.ipv4);
224dfbd81 security/selinux/netnode.c Paul Moore    2008-01-29  163  		break;
224dfbd81 security/selinux/netnode.c Paul Moore    2008-01-29  164  	case PF_INET6:
224dfbd81 security/selinux/netnode.c Paul Moore    2008-01-29  165  		idx = sel_netnode_hashfn_ipv6(&node->nsec.addr.ipv6);
224dfbd81 security/selinux/netnode.c Paul Moore    2008-01-29  166  		break;
224dfbd81 security/selinux/netnode.c Paul Moore    2008-01-29  167  	default:
224dfbd81 security/selinux/netnode.c Paul Moore    2008-01-29  168  		BUG();
b04eea886 security/selinux/netnode.c Paul Moore    2013-07-23  169  		return;
224dfbd81 security/selinux/netnode.c Paul Moore    2008-01-29  170  	}
a639e7ca8 security/selinux/netnode.c Paul Moore    2008-04-25  171  
224dfbd81 security/selinux/netnode.c Paul Moore    2008-01-29  172  	/* we need to impose a limit on the growth of the hash table so check
224dfbd81 security/selinux/netnode.c Paul Moore    2008-01-29  173  	 * this bucket to make sure it is within the specified bounds */
a639e7ca8 security/selinux/netnode.c Paul Moore    2008-04-25  174  	list_add_rcu(&node->list, &sel_netnode_hash[idx].list);
a639e7ca8 security/selinux/netnode.c Paul Moore    2008-04-25  175  	if (sel_netnode_hash[idx].size == SEL_NETNODE_HASH_BKT_LIMIT) {
a639e7ca8 security/selinux/netnode.c Paul Moore    2008-04-25  176  		struct sel_netnode *tail;
a639e7ca8 security/selinux/netnode.c Paul Moore    2008-04-25 @177  		tail = list_entry(
88a693b5c security/selinux/netnode.c Dave Jones    2012-11-08  178  			rcu_dereference_protected(sel_netnode_hash[idx].list.prev,
88a693b5c security/selinux/netnode.c Dave Jones    2012-11-08  179  						  lockdep_is_held(&sel_netnode_lock)),
a639e7ca8 security/selinux/netnode.c Paul Moore    2008-04-25  180  			struct sel_netnode, list);
a639e7ca8 security/selinux/netnode.c Paul Moore    2008-04-25  181  		list_del_rcu(&tail->list);
9801c60e9 security/selinux/netnode.c Lai Jiangshan 2011-03-18  182  		kfree_rcu(tail, rcu);
a639e7ca8 security/selinux/netnode.c Paul Moore    2008-04-25  183  	} else
a639e7ca8 security/selinux/netnode.c Paul Moore    2008-04-25  184  		sel_netnode_hash[idx].size++;
224dfbd81 security/selinux/netnode.c Paul Moore    2008-01-29  185  }

:::::: The code at line 177 was first introduced by commit
:::::: a639e7ca8e8282b75be2724a28bfc788aa3bb156 SELinux: Made netnode cache adds faster

:::::: TO: Paul Moore <paul.moore@hp.com>
:::::: CC: James Morris <jmorris@namei.org>

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

  reply	other threads:[~2016-04-01  9:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01  8:47 Pali Rohár
2016-04-01  9:45 ` kbuild test robot [this message]
2016-04-01 15:47 ` Casey Schaufler
2016-04-01 16:19   ` Pali Rohár

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=201604011740.451kMHRJ%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pali.rohar@gmail.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®