lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87pmu6sx9l.fsf@codeaurora.org>
Date:   Sat, 21 Aug 2021 17:11:34 +0300
From:   Kalle Valo <kvalo@...eaurora.org>
To:     Jason Wang <wangborong@...rlc.com>
Cc:     stas.yakovlev@...il.com, davem@...emloft.net, kuba@...nel.org,
        linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ipw2x00: no need to initilise statics to 0

Jason Wang <wangborong@...rlc.com> writes:

> Global static variables dont need to be initialised to 0. Because
> the compiler will initilise them.
>
> Signed-off-by: Jason Wang <wangborong@...rlc.com>
> ---
>  drivers/net/wireless/intel/ipw2x00/ipw2100.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2100.c b/drivers/net/wireless/intel/ipw2x00/ipw2100.c
> index 47eb89b773cf..6bfe55d79ce1 100644
> --- a/drivers/net/wireless/intel/ipw2x00/ipw2100.c
> +++ b/drivers/net/wireless/intel/ipw2x00/ipw2100.c

[...]

> @@ -7197,7 +7197,7 @@ static int ipw2100_wx_set_txpow(struct net_device *dev,
>  {
>  	struct ipw2100_priv *priv = libipw_priv(dev);
>  	int err = 0, value;
> -	
> +

Unrelated change.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ