Commit 9c490d2d authored by Tomohiro Kusumi's avatar Tomohiro Kusumi Committed by Martin K. Petersen

scsi: ufs: non functional macro fix

Not having () isn't likely to do any harm in this case, but all the
other macros below do have it. Also add "are" in a comment.
Signed-off-by: default avatarTomohiro Kusumi <tkusumi@tuxera.com>
Reviewed-by: default avatarSubhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 4a8eec2b
...@@ -151,11 +151,11 @@ enum { ...@@ -151,11 +151,11 @@ enum {
}; };
#define ufshcd_set_eh_in_progress(h) \ #define ufshcd_set_eh_in_progress(h) \
(h->eh_flags |= UFSHCD_EH_IN_PROGRESS) ((h)->eh_flags |= UFSHCD_EH_IN_PROGRESS)
#define ufshcd_eh_in_progress(h) \ #define ufshcd_eh_in_progress(h) \
(h->eh_flags & UFSHCD_EH_IN_PROGRESS) ((h)->eh_flags & UFSHCD_EH_IN_PROGRESS)
#define ufshcd_clear_eh_in_progress(h) \ #define ufshcd_clear_eh_in_progress(h) \
(h->eh_flags &= ~UFSHCD_EH_IN_PROGRESS) ((h)->eh_flags &= ~UFSHCD_EH_IN_PROGRESS)
#define ufshcd_set_ufs_dev_active(h) \ #define ufshcd_set_ufs_dev_active(h) \
((h)->curr_dev_pwr_mode = UFS_ACTIVE_PWR_MODE) ((h)->curr_dev_pwr_mode = UFS_ACTIVE_PWR_MODE)
...@@ -1491,7 +1491,7 @@ int ufshcd_hold(struct ufs_hba *hba, bool async) ...@@ -1491,7 +1491,7 @@ int ufshcd_hold(struct ufs_hba *hba, bool async)
break; break;
} }
/* /*
* If we here, it means gating work is either done or * If we are here, it means gating work is either done or
* currently running. Hence, fall through to cancel gating * currently running. Hence, fall through to cancel gating
* work and to enable clocks. * work and to enable clocks.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment