From: Alim Akhtar <alim.akhtar@samsung.com>
To: Bart Van Assche <Bart.VanAssche@wdc.com>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: "subhashj@codeaurora.org" <subhashj@codeaurora.org>,
"martin.petersen@oracle.com" <martin.petersen@oracle.com>,
"vinholikatti@gmail.com" <vinholikatti@gmail.com>
Subject: Re: [PATCH 1/3] scsi: ufs: Change HCI marco to actual bit position
Date: Tue, 3 Oct 2017 13:58:19 +0530 [thread overview]
Message-ID: <5131c130-cae7-232b-1694-5669348bb724@samsung.com> (raw)
In-Reply-To: <1506962493.3368.35.camel@wdc.com>
Hi Bart,
On 10/02/2017 10:11 PM, Bart Van Assche wrote:
> On Sat, 2017-09-30 at 11:52 +0530, Alim Akhtar wrote:
>> Currently UFS HCI uses UFS_BIT() macro to get various bit
>> position for the hardware registers status bits. Which makes
>> code longer instead of shorter. This macro does not improve
>> code readability as well.
>> Lets re-write these macro definition with the actual bit position.
>
> Can the three patches in this series be combined into a single patch?
>
Since UFS_BIT() used in qcom-ufs driver as well, so I thought of keeping
them in separate patches. This way "git bisect" will work all the time.
>> -#define UFS_BIT(x) (1L << (x))
>> [ ... ]
>> +#define UFS_BIT(x) (1L << (x))
>
> If you want to keep the three patches separate, please make sure that this
> patch does not modify the UFS_BIT() definition. Please also fix the spelling
> of the title of this patch (marco -> macro).
>
Ok, will fix these
> Thanks,
>
> Bart.
>
prev parent reply other threads:[~2017-10-03 8:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20170930062956epcas1p1461ea07e21a275a9e5733b3b90b5896a@epcas1p1.samsung.com>
2017-09-30 6:22 ` Alim Akhtar
[not found] ` <CGME20170930062957epcas2p3ccba5b5b7614eed0e63b7a8424531022@epcas2p3.samsung.com>
2017-09-30 6:22 ` [PATCH 2/3] scsi: ufs-qcom: Remove uses of UFS_BIT() macro Alim Akhtar
[not found] ` <CGME20170930062958epcas2p281a91f030037be81ef81c657ec6f81b2@epcas2p2.samsung.com>
2017-09-30 6:22 ` [PATCH 3/3] scsi: ufs: Remove unused " Alim Akhtar
2017-10-02 16:41 ` [PATCH 1/3] scsi: ufs: Change HCI marco to actual bit position Bart Van Assche
2017-10-03 8:28 ` Alim Akhtar [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=5131c130-cae7-232b-1694-5669348bb724@samsung.com \
--to=alim.akhtar@samsung.com \
--cc=Bart.VanAssche@wdc.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=subhashj@codeaurora.org \
--cc=vinholikatti@gmail.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
all inboxes | Powered by JetHome®