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] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 23 Oct 2021 10:14:40 +0300
From:   Kalle Valo <kvalo@...eaurora.org>
To:     Randy Dunlap <rdunlap@...radead.org>
Cc:     netdev@...r.kernel.org, Sean Wang <sean.wang@...iatek.com>,
        linux-wireless@...r.kernel.org, Felix Fietkau <nbd@....name>,
        Lorenzo Bianconi <lorenzo.bianconi83@...il.com>,
        Ryder Lee <ryder.lee@...iatek.com>
Subject: Re: [PATCH net] wireless: mediatek: mt7921: fix Wformat build warning

Randy Dunlap <rdunlap@...radead.org> writes:

> ARRAY_SIZE() is of type size_t, so the format specfier should
> be %zu instead of %lu.
>
> Fixes this build warning:
>
> ../drivers/net/wireless/mediatek/mt76/mt7921/main.c: In function ‘mt7921_get_et_stats’:
> ../drivers/net/wireless/mediatek/mt76/mt7921/main.c:1024:26: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Wformat=]
>    dev_err(dev->mt76.dev, "ei: %d  SSTATS_LEN: %lu",
>
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> Cc: Sean Wang <sean.wang@...iatek.com>
> Cc: linux-wireless@...r.kernel.org
> Cc: Felix Fietkau <nbd@....name>
> Cc: Lorenzo Bianconi <lorenzo.bianconi83@...il.com>
> Cc: Ryder Lee <ryder.lee@...iatek.com>
> Cc: Kalle Valo <kvalo@...eaurora.org>

The subject prefix should be "mt76: mt7921:", I'll fix it during commit.

Felix, I'll take this directly to wireless-drivers-next. Please drop it
from your tree.

-- 
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