From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Yihang Li <liyihang9@huawei.com>
Cc: <martin.petersen@oracle.com>,
<James.Bottomley@HansenPartnership.com>,
<linux-scsi@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linuxarm@huawei.com>, <liyihang9@h-partners.com>,
<liuyonglong@huawei.com>, <prime.zeng@hisilicon.com>
Subject: Re: [PATCH] scsi: hisi_sas: Fix sparse warnings in prep_ata_v3_hw()
Date: Mon, 20 Apr 2026 22:37:31 -0400 [thread overview]
Message-ID: <yq1bjfdox7g.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20260420021044.3339459-1-liyihang9@huawei.com> (Yihang Li's message of "Mon, 20 Apr 2026 10:10:44 +0800")
Yihang,
> In prep_ata_v3_hw(), add cpu_to_le32() to fix warning:
> drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:1448:26: sparse: sparse: invalid assignment: |=
> drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:1448:26: sparse: left side has type restricted __le32
> drivers/scsi/hisi_sas/hisi_sas_v3_hw.c:1448:26: sparse: right side has type unsigned int
Applied to 7.1/scsi-staging, thanks!
--
Martin K. Petersen
prev parent reply other threads:[~2026-04-21 2:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-20 2:10 [PATCH] scsi: hisi_sas: Fix sparse warnings in prep_ata_v3_hw() Yihang Li
2026-04-21 2:37 ` Martin K. Petersen [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=yq1bjfdox7g.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=liuyonglong@huawei.com \
--cc=liyihang9@h-partners.com \
--cc=liyihang9@huawei.com \
--cc=prime.zeng@hisilicon.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox