projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
825e888
)
mlxsw: reg: Fix comment about slot_index field in PMAOS register
author
Amit Cohen
<amcohen@nvidia.com>
Wed, 10 Mar 2021 11:02:16 +0000
(13:02 +0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 10 Mar 2021 21:04:57 +0000
(13:04 -0800)
The comment did not include the register name.
Add `pmaos` to align the comment with other comments.
Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mellanox/mlxsw/reg.h
b/drivers/net/ethernet/mellanox/mlxsw/reg.h
index c4adc7f740d3e6b8a6c2f50b399846cbd2ecacbd..afd42907092fb8e6ddfb5542051a9675a01f0b17 100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlxsw/reg.h
+++ b/
drivers/net/ethernet/mellanox/mlxsw/reg.h
@@
-5637,7
+5637,7
@@
static inline void mlxsw_reg_pspa_pack(char *payload, u8 swid, u8 local_port)
MLXSW_REG_DEFINE(pmaos, MLXSW_REG_PMAOS_ID, MLXSW_REG_PMAOS_LEN);
-/* reg_slot_index
+/* reg_
pmaos_
slot_index
* Slot index.
* Access: Index
*/