From: Jakub Kicinski Date: Thu, 18 Nov 2021 14:27:20 +0000 (-0800) Subject: ipw2200: constify address in ipw_send_adapter_address X-Git-Tag: v6.6.17~8491^2~411^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a608e6794b080594590c52d2e373068d5148954c;p=platform%2Fkernel%2Flinux-rpi.git ipw2200: constify address in ipw_send_adapter_address Add const to the address param of ipw_send_adapter_address() all the functions down the chain have already been changed. Not sure how I lost this in the rebase. Acked-by: Kalle Valo Signed-off-by: Jakub Kicinski Acked-by: Stanislav Yakovlev Signed-off-by: David S. Miller --- diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2200.c b/drivers/net/wireless/intel/ipw2x00/ipw2200.c index 23037bf..5727c7c 100644 --- a/drivers/net/wireless/intel/ipw2x00/ipw2200.c +++ b/drivers/net/wireless/intel/ipw2x00/ipw2200.c @@ -2303,7 +2303,7 @@ static int ipw_send_ssid(struct ipw_priv *priv, u8 * ssid, int len) ssid); } -static int ipw_send_adapter_address(struct ipw_priv *priv, u8 * mac) +static int ipw_send_adapter_address(struct ipw_priv *priv, const u8 * mac) { if (!priv || !mac) { IPW_ERROR("Invalid args\n");