mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-22 09:12:10 +03:00
nvethernetrm: Fix err for macro MACSEC_KEY_PROGRAM
Fix compiler err when macro MACSEC_KEY_PROGRAM enabled Bug 3389496 Change-Id: Ic95dd8c5b63538f3f246122ddb203a649afc6975 Signed-off-by: Mahesh Patil <maheshp@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2601538 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Sanath Kumar Gampa <sgampa@nvidia.com> Reviewed-by: Nagaraj Annaiah <nannaiah@nvidia.com> Reviewed-by: Srinivas Ramachandran <srinivasra@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
e6a2dd50b4
commit
0b11badd9d
@@ -398,7 +398,7 @@ static int ivc_macsec_kt_config(struct osi_core_priv_data *const osi_core,
|
||||
(void *)kt_config,
|
||||
sizeof(struct osi_macsec_kt_config));
|
||||
|
||||
return osi_core->osd_ops.ivc_send(osi_core, (char *)&msg, sizeof(msg));
|
||||
return osi_core->osd_ops.ivc_send(osi_core, &msg, sizeof(msg));
|
||||
}
|
||||
#endif /* MACSEC_KEY_PROGRAM */
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
* @brief MACsec controller register offsets
|
||||
* @{
|
||||
*/
|
||||
#define MASCEC_GCM_KEYTABLE_CONFIG 0x0000
|
||||
#define MACSEC_GCM_KEYTABLE_CONFIG 0x0000
|
||||
#define MACSEC_GCM_KEYTABLE_DATA(x) (0x0004 + (x * 4))
|
||||
#define MACSEC_RX_ICV_ERR_CNTRL 0x4000
|
||||
#define MACSEC_INTERRUPT_COMMON_SR 0x4004
|
||||
|
||||
Reference in New Issue
Block a user