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-next>] [day] [month] [year] [list]
Date:   Wed,  6 Apr 2022 17:22:45 +0200
From:   Benjamin Stürz <benni@...erz.xyz>
To:     kvalo@...nel.org
Cc:     davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
        linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org,
        Benjamin Stürz <benni@...erz.xyz>
Subject: [PATCH v4 0/2] wireless: ray_cs: Improve card_status[]

This small patch series improves the card_status[] array in ray_cs.c.
It essentially replaces comments describing the index with designated
initializers using enum constants as indexes.
It also makes the array const because it shouldn't be modified at
runtime.

Benjamin Stürz (2):
  ray_cs: Improve card_status[]
  ray_cs: Make card_status[] const

 drivers/net/wireless/ray_cs.c | 33 ++++++++++++++++++---------------
 1 file changed, 18 insertions(+), 15 deletions(-)

-- 
2.35.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ