Hi Frank,

[auto build test WARNING on staging/staging-testing]
[also build test WARNING on next-20151231]
[cannot apply to v4.4-rc7]
[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/green-linuxhacker-ru/Clean-up-Lustre-userspace-accesses/20160104-011044
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:228:8: sparse: attribute 'no_sanitize_address': 
unknown attribute
>> drivers/staging/lustre/lnet/selftest/conrpc.c:492:30: sparse: incompatible 
>> types in comparison expression (different address spaces)

vim +492 drivers/staging/lustre/lnet/selftest/conrpc.c

d7e09d039 Peng Tao           2013-05-02  476    lstcon_rpc_t *crpc;
d7e09d039 Peng Tao           2013-05-02  477    srpc_msg_t *msg;
d7e09d039 Peng Tao           2013-05-02  478    lstcon_node_t *nd;
b2d201bd1 Greg Kroah-Hartman 2014-07-12  479    long dur;
d7e09d039 Peng Tao           2013-05-02  480    struct timeval tv;
d7e09d039 Peng Tao           2013-05-02  481    int error;
d7e09d039 Peng Tao           2013-05-02  482  
d7e09d039 Peng Tao           2013-05-02  483    LASSERT(head_up != NULL);
d7e09d039 Peng Tao           2013-05-02  484  
d7e09d039 Peng Tao           2013-05-02  485    next = head_up;
d7e09d039 Peng Tao           2013-05-02  486  
d7e09d039 Peng Tao           2013-05-02  487    list_for_each_entry(crpc, 
&trans->tas_rpcs_list, crp_link) {
d7e09d039 Peng Tao           2013-05-02  488            if 
(copy_from_user(&tmp, next,
d7e09d039 Peng Tao           2013-05-02  489                                   
sizeof(struct list_head)))
d7e09d039 Peng Tao           2013-05-02  490                    return -EFAULT;
d7e09d039 Peng Tao           2013-05-02  491  
d7e09d039 Peng Tao           2013-05-02 @492            if (tmp.next == head_up)
d7e09d039 Peng Tao           2013-05-02  493                    return 0;
d7e09d039 Peng Tao           2013-05-02  494  
d7e09d039 Peng Tao           2013-05-02  495            next = tmp.next;
d7e09d039 Peng Tao           2013-05-02  496  
d7e09d039 Peng Tao           2013-05-02  497            ent = list_entry(next, 
lstcon_rpc_ent_t, rpe_link);
d7e09d039 Peng Tao           2013-05-02  498  
d7e09d039 Peng Tao           2013-05-02  499            LASSERT(crpc->crp_stamp 
!= 0);
d7e09d039 Peng Tao           2013-05-02  500  

:::::: The code at line 492 was first introduced by commit
:::::: d7e09d0397e84eefbabfd9cb353221f3c6448d83 staging: add Lustre file system 
client support

:::::: TO: Peng Tao <bergw...@gmail.com>
:::::: CC: Greg Kroah-Hartman <gre...@linuxfoundation.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to