OSDN Git Service

scsi: ufs: core: Convert UPIU_HEADER_DWORD() into a function
authorBart Van Assche <bvanassche@acm.org>
Thu, 6 Jul 2023 21:50:24 +0000 (14:50 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 11 Jul 2023 18:59:53 +0000 (14:59 -0400)
commitaa2db9d44a8b9b3cb12df7c253b3d6f46618d37e
tree4ed4c8bb8df226edca8ec93d04717304db70cb1c
parent30a5b62e1c83d7660c6c471915ad968b6c6b7d98
scsi: ufs: core: Convert UPIU_HEADER_DWORD() into a function

This change reduces the number of parentheses that are required in the
definition of this function and also when using this function.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230706215054.4113469-1-bvanassche@acm.org
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c
drivers/ufs/core/ufshpb.c
include/ufs/ufs.h