On Tue, Feb 13, 2018 at 08:29:26PM +0100, Frederic Barrat wrote:
Hi,
Thanks for the report. I'll fix the first issue. The 2nd is already on its
way to upstream:
https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=dedab7f0d3137441a97fe7cf9b9ca5
(though we still have a useless cast in there; will fix as well).
May I ask what static checker you're using?
These are Smatch warnings.
regards,
dan carpenter