OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
facc239
)
scsi: ufs: ufshpb: Remove enum initialization value
author
Bean Huo
<beanhuo@micron.com>
Thu, 5 May 2022 13:47:03 +0000
(15:47 +0200)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Wed, 11 May 2022 02:01:51 +0000
(22:01 -0400)
If the first enumerator has no initializer, the value of the corresponding
constant is zero.
Link:
https://lore.kernel.org/r/20220505134707.35929-3-huobean@gmail.com
Reviewed-by: Keoseong Park <keosung.park@samsung.com>
Signed-off-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshpb.h
patch
|
blob
|
history
diff --git
a/drivers/scsi/ufs/ufshpb.h
b/drivers/scsi/ufs/ufshpb.h
index
7aa0dc5
..
b83b9ec
100644
(file)
--- a/
drivers/scsi/ufs/ufshpb.h
+++ b/
drivers/scsi/ufs/ufshpb.h
@@
-59,8
+59,8
@@
enum UFSHPB_MODE {
};
enum UFSHPB_STATE {
- HPB_INIT
= 0
,
- HPB_PRESENT
= 1
,
+ HPB_INIT,
+ HPB_PRESENT,
HPB_SUSPEND,
HPB_FAILED,
HPB_RESET,