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
| ||
|
Date: Thu, 8 Jun 2017 11:30:56 +0530 From: Bhumika Goyal <bhumirks@...il.com> To: julia.lawall@...6.fr, netdev@...r.kernel.org, linux-kernel@...r.kernel.org, jeffrey.t.kirsher@...el.com, davem@...emloft.net Cc: Bhumika Goyal <bhumirks@...il.com> Subject: [PATCH 0/2] drivers: net: add const to mii_phy_ops structures The object references of mii_phy_ops structures are only stored in the ops field of a mii_phy_def structure. This ops field is of type const. So, mii_phy_ops structures having similar properties can be declared as const. Bhumika Goyal (2): drivers/net/sungem: add const to mii_phy_ops structures drivers: net: emac: add const to mii_phy_ops structures drivers/net/ethernet/ibm/emac/phy.c | 12 ++++++------ drivers/net/sungem_phy.c | 26 +++++++++++++------------- 2 files changed, 19 insertions(+), 19 deletions(-) -- 2.7.4
Powered by blists - more mailing lists