Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1703903

[PATCH 00/11] constify usb attribute_group structures.

From Arvind Yadav <arvind.yadav.cs@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 00/11] constify usb attribute_group structures.
Date 2017-08-04 14:10 +0200
Message-ID <uaJAt-6MJ-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Arvind Yadav (11):
  [PATCH 01/11] usb: atm: ueagle-atm: constify attribute_group structures.
  [PATCH 02/11] usb: chipidea: constify attribute_group structures.
  [PATCH 03/11] usb: chipidea: otg_fsm: constify attribute_group structures.
  [PATCH 04/11] usb: usbtmc: constify attribute_group structures.
  [PATCH 05/11] usb: hcd: constify attribute_group structures.
  [PATCH 06/11] usb: usbsevseg: constify attribute_group structures.
  [PATCH 07/11] usb: phy-mv-usb: constify attribute_group structures.
  [PATCH 08/11] usb: phy-tahvo: constify attribute_group structures.
  [PATCH 09/11] usb: wusbcore: cbaf: constify attribute_group structures.
  [PATCH 10/11] usb: wusbcore: dev-sysfs: constify attribute_group structures.
  [PATCH 11/11] usb: wusbcore: wusbhc: constify attribute_group structures.

 drivers/usb/atm/ueagle-atm.c     | 2 +-
 drivers/usb/chipidea/core.c      | 2 +-
 drivers/usb/chipidea/otg_fsm.c   | 2 +-
 drivers/usb/class/usbtmc.c       | 4 ++--
 drivers/usb/core/hcd.c           | 2 +-
 drivers/usb/misc/usbsevseg.c     | 2 +-
 drivers/usb/phy/phy-mv-usb.c     | 2 +-
 drivers/usb/phy/phy-tahvo.c      | 2 +-
 drivers/usb/wusbcore/cbaf.c      | 2 +-
 drivers/usb/wusbcore/dev-sysfs.c | 2 +-
 drivers/usb/wusbcore/wusbhc.c    | 2 +-
 11 files changed, 12 insertions(+), 12 deletions(-)

-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 00/11] constify usb attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-04 14:10 +0200
  [PATCH 08/11] usb: phy-tahvo: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-04 14:10 +0200
  [PATCH 11/11] usb: wusbcore: wusbhc: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-04 14:10 +0200
  [PATCH 01/11] usb: atm: ueagle-atm: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-04 14:10 +0200
  [PATCH 07/11] usb: phy-mv-usb: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-04 14:10 +0200
  [PATCH 04/11] usb: usbtmc: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-04 14:10 +0200
  [PATCH 10/11] usb: wusbcore: dev-sysfs: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-04 14:10 +0200
  [PATCH 09/11] usb: wusbcore: cbaf: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-04 14:10 +0200
  [PATCH 05/11] usb: hcd: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-04 14:10 +0200
  [PATCH 02/11] usb: chipidea: constify attribute_group structures. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-04 14:20 +0200

csiph-web