[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA++WF2OR40tHPnONJqE3m69T+1Y4nLMDJUB21RpAvLEgMTYijg@mail.gmail.com>
Date: Thu, 18 Nov 2021 21:27:03 +0400
From: Stanislav Yakovlev <stas.yakovlev@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
Kalle Valo <kvalo@...eaurora.org>
Subject: Re: [PATCH net-next 4/4] ipw2200: constify address in ipw_send_adapter_address
On Thu, 18 Nov 2021 at 18:27, Jakub Kicinski <kuba@...nel.org> wrote:
>
> 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 <kvalo@...eaurora.org>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> ---
> CC: stas.yakovlev@...il.com
> ---
> drivers/net/wireless/intel/ipw2x00/ipw2200.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Acked-by: Stanislav Yakovlev <stas.yakovlev@...il.com>
> diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2200.c b/drivers/net/wireless/intel/ipw2x00/ipw2200.c
> index 23037bfc9e4c..5727c7c00a28 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");
> --
> 2.31.1
>
Powered by blists - more mailing lists