lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  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:   Sun, 13 Aug 2017 16:41:44 +0530
From:   Arvind Yadav <arvind.yadav.cs@...il.com>
To:     wg@...ndegger.com, mkl@...gutronix.de, madalin.bucur@....com,
        davem@...emloft.net, sergei.shtylyov@...entembedded.com,
        grygorii.strashko@...com
Cc:     linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
        linux-can@...r.kernel.org
Subject: [PATCH 0/4] constify net platform_device_id

platform_device_id are not supposed to change at runtime. All functions
working with platform_device_id provided by <linux/platform_device.h>
work with const platform_device_id. So mark the non-const structs as const.

Arvind Yadav (4):
  [PATCH 1/4] can: constify platform_device_id
  [PATCH 2/4] net: dpaa_eth: constify platform_device_id
  [PATCH 3/4] net: sh_eth: constify platform_device_id
  [PATCH 4/4] net: ti: cpsw:: constify platform_device_id

 drivers/net/can/c_can/c_can_platform.c         | 2 +-
 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2 +-
 drivers/net/ethernet/renesas/sh_eth.c          | 2 +-
 drivers/net/ethernet/ti/cpsw.c                 | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux - Powered by OpenVZ