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] [day] [month] [year] [list]
Message-ID: <87d0yqdnds.fsf@kamboji.qca.qualcomm.com>
Date:   Mon, 23 Apr 2018 17:10:39 +0300
From:   Kalle Valo <kvalo@...eaurora.org>
To:     Joey Pabalinas <joeypabalinas@...il.com>
Cc:     Kees Cook <keescook@...omium.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        luciano.coelho@...el.com, linux-kernel@...r.kernel.org,
        linux-wireless@...r.kernel.org
Subject: Re: New sparse warning from min_t(): expression using sizeof(void)

Kalle Valo <kvalo@...eaurora.org> writes:

> Joey Pabalinas <joeypabalinas@...il.com> writes:
>
>> On Sat, Apr 21, 2018 at 10:50:51AM +0300, Kalle Valo wrote:
>>> Is there any way to fix it? With ath10k I use sparse a lot and because
>>> of these warnings sparse is now very annoying to use.
>>
>> I submitted a sparse patch [1] for this not too long ago, but in the
>> meantime you can still curl the patch [2] and apply it directly to
>> the v0.5.2 release to suppress the deluge of warnings (-Wpointer-arith
>> is off by defaultl so no need to change any of you configurations).
>>
>> [1] https://lkml.org/lkml/2018/4/10/923
>> [2] https://patchwork.kernel.org/patch/10334353/raw/
>
> Perfect, thanks. Unfortunatelly I need to catch a boat and I can't test
> it right now, but I'll do that on Monday.

Yes, this fixed my warnings. Thanks!

-- 
Kalle Valo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ