lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bd67a6dd-4d43-28f6-e2bb-a283f581a7a9@intel.com>
Date:   Tue, 9 Aug 2022 18:23:21 +0800
From:   "Chen, Rong A" <rong.a.chen@...el.com>
To:     Bart Van Assche <bvanassche@....org>,
        kernel test robot <lkp@...el.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Jens Axboe <axboe@...nel.dk>
Subject: Re: [kbuild-all] Re: drivers/md/raid10.c:2647:60: sparse: sparse:
 incorrect type in argument 5 (different base types)



On 8/6/2022 11:21 PM, Bart Van Assche wrote:
> On 8/5/22 21:44, kernel test robot wrote:
>>     drivers/md/raid10.c:1139:30: sparse: sparse: incorrect type in 
>> initializer (different base types) @@     expected int const op @@     
>> got restricted blk_opf_t enum req_op @@
>>     drivers/md/raid10.c:1139:30: sparse:     expected int const op
>>     drivers/md/raid10.c:1139:30: sparse:     got restricted blk_opf_t 
>> enum req_op
>>     drivers/md/raid10.c:1140:52: sparse: sparse: incorrect type in 
>> initializer (different base types) @@     expected unsigned long const 
>> do_sync @@     got restricted blk_opf_t @@
>>     drivers/md/raid10.c:1140:52: sparse:     expected unsigned long 
>> const do_sync
>>     drivers/md/raid10.c:1140:52: sparse:     got restricted blk_opf_t
> 
> I can't reproduce this with Linus' master branch. It seems like the 
> kernel test robot picked a commit somewhere halfway my patch series?
> 
> Bart.

Hi Bart,

Only the warning prefixed by '>>' is related to this commit 4ce4c73f662b:

 >> drivers/md/raid10.c:2647:60: sparse: sparse: incorrect type in 
argument 5 (different base types) @@     expected restricted blk_opf_t 
[usertype] opf @@     got int rw @@

and I can reproduce it in my system.

Best Regards,
Rong Chen

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ