From: Dan Carpenter <dan.carpenter@linaro.org>
To: Akshay Gupta <akshay.gupta@amd.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
kernel-janitors@vger.kernel.org
Subject: Re: [bug report] misc: amd-sbi: Add support for CPUID protocol
Date: Tue, 27 May 2025 11:24:13 +0300 [thread overview]
Message-ID: <aDV2rRM8hOC8kY34@stanley.mountain> (raw)
In-Reply-To: <aDVyO8ByVsceybk9@stanley.mountain>
On Tue, May 27, 2025 at 11:05:15AM +0300, Dan Carpenter wrote:
> Hello Akshay Gupta,
>
> Commit bb13a84ed6b7 ("misc: amd-sbi: Add support for CPUID protocol")
> from Apr 28, 2025 (linux-next), leads to the following Smatch static
> checker warning:
>
> drivers/misc/amd-sbi/rmi-core.c:132 rmi_cpuid_read() warn: bitwise OR is zero '0xffffffff00000000 & 0xffff'
^^
This was obviously supposed to say AND not OR...
regards,
dan carpenter
prev parent reply other threads:[~2025-05-27 8:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-27 8:05 [bug report] misc: amd-sbi: Add support for CPUID protocol Dan Carpenter
2025-05-27 8:24 ` Dan Carpenter [this message]
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=aDV2rRM8hOC8kY34@stanley.mountain \
--to=dan.carpenter@linaro.org \
--cc=akshay.gupta@amd.com \
--cc=gregkh@linuxfoundation.org \
--cc=kernel-janitors@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.