Re: [PATCH v2] scsi: ufs: make ufshcd_get_lists_status() register operation obvious

2017-04-26 Thread Martin K. Petersen
> It could be just cmp 0xe instead of >>1 and cmp 0x7, with readable > code. Applied to 4.12/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2] scsi: ufs: make ufshcd_get_lists_status() register operation obvious

2017-04-26 Thread Subhash Jadavani
On 2017-04-26 10:28, kusumi.tomoh...@gmail.com wrote: From: Tomohiro Kusumi It could be just cmp 0xe instead of >>1 and cmp 0x7, with readable code. Signed-off-by: Tomohiro Kusumi --- drivers/scsi/ufs/ufshcd.c | 11 +--

[PATCH v2] scsi: ufs: make ufshcd_get_lists_status() register operation obvious

2017-04-26 Thread kusumi . tomohiro
From: Tomohiro Kusumi It could be just cmp 0xe instead of >>1 and cmp 0x7, with readable code. Signed-off-by: Tomohiro Kusumi --- drivers/scsi/ufs/ufshcd.c | 11 +-- drivers/scsi/ufs/ufshci.h | 4 2 files changed, 5 insertions(+), 10