Thread (10 messages) flat view 10 messages, 3 authors, 2021-08-21

Re: [PATCH 3/3] rtlwifi: rtl8192de: fix array size limit in for-loop

From: Kalle Valo <hidden>
Date: 2021-08-21 17:32:32
Also in: kernel-janitors, linux-wireless, lkml

Colin King [off-list ref] wrote:
From: Colin Ian King <redacted>

Currently the size of the entire array is being used in a for-loop
for the element count. While this works since the elements are u8
sized, it is preferred to use ARRAY_SIZE to get the element count
of the array.

Kudos to Joe Perches for spotting this issue.

Signed-off-by: Colin Ian King <redacted>
Dropped per Colin's request.

Patch set to Changes Requested.

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20210803144949.79433-3-colin.king@canonical.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help