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: <171723654505.1034023.720377583197621246.kvalo@kernel.org>
Date: Sat,  1 Jun 2024 10:09:06 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Erick Archer <erick.archer@...look.com>
Cc: Arend van Spriel <arend.vanspriel@...adcom.com>,
 Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
 Ulf Hansson <ulf.hansson@...aro.org>,
 Christophe JAILLET <christophe.jaillet@...adoo.fr>,
 Yajun Deng <yajun.deng@...ux.dev>,
 Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
 Alan Stern <stern@...land.harvard.edu>, Dmitry Antipov <dmantipov@...dex.ru>,
 Johannes Berg <johannes.berg@...el.com>, Arnd Bergmann <arnd@...db.de>,
 Jonas Gorski <jonas.gorski@...il.com>,
 Artem Chernyshev <artem.chernyshev@...-soft.ru>,
 Kees Cook <keescook@...omium.org>,
 "Gustavo A. R. Silva" <gustavoars@...nel.org>,
 Justin Stitt <justinstitt@...gle.com>,
 Erick Archer <erick.archer@...look.com>, linux-wireless@...r.kernel.org,
 brcm80211@...ts.linux.dev, brcm80211-dev-list.pdl@...adcom.com,
 linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH v2] wifi: brcm80211: use sizeof(*pointer) instead of
 sizeof(type)

Erick Archer <erick.archer@...look.com> wrote:

> It is preferred to use sizeof(*pointer) instead of sizeof(type)
> due to the type of the variable can change and one needs not
> change the former (unlike the latter). This patch has no effect
> on runtime behavior.
> 
> At the same time remove some redundant NULL initializations.
> 
> Acked-by: Arend van Spriel <arend.vanspriel@...adcom.com>
> Signed-off-by: Erick Archer <erick.archer@...look.com>

Patch applied to wireless-next.git, thanks.

dcb77f854ae0 wifi: brcm80211: use sizeof(*pointer) instead of sizeof(type)

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/AS8PR02MB7237FF1C2E880D1231684D708BF02@AS8PR02MB7237.eurprd02.prod.outlook.com/

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ