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


Groups > linux.kernel > #1703903

[PATCH 00/11] constify usb attribute_group structures.

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Arvind Yadav <arvind.yadav.cs@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 00/11] constify usb attribute_group structures.
Date Fri, 04 Aug 2017 14:10:01 +0200
Message-ID <uaJAt-6MJ-7@gated-at.bofh.it> (permalink)
X-Original-To Peter.Chen@nxp.com, balbi@kernel.org, baoyou.xie@linaro.org, castet.matthieu@free.fr, stf_xl@wp.pl, gregkh@linuxfoundation.org
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=4jJUTvvm+nJ0M4WtTN4DzzMNONoBAIMsBHrdLvf4/j4=; b=NQ+bypfuf0o76veJxApqU1jBpRiiCjK+P/FZ1oF2MVy/nz6kuC4akluc4cAjN24bSD AN0vNFqF/aaxdPLFJiW0zSLrv5u6tfcGmgBfaEVNmz5m8OwwzVPWJGa+vRddVn01zcWF 4q6wFhrt1I++k4YkZ1+GgWOBHHB4wpJtkG3bJkvhjbmuNvVIkT41sjo2SBKKQy4Q3Nzf oegxd/GXVKoJZhZ7x+HHSvqYyCmkauq6x00fBHJf5zTFnQgd8+KcYDTVdmWT4TXZwt/1 /k4LpNZ+6hEXZpi4MDiZ2gn1XdFcXFnGxAYJYW4TC8fFJaCXIVOuhsSUT2pdD5glH54k nqXA==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=4jJUTvvm+nJ0M4WtTN4DzzMNONoBAIMsBHrdLvf4/j4=; b=gVyNMVmwu9D0PYahylZdw7FKrwAucHF+dnauZ2Wr9svueM3Q1nhVwV8joMBKtH0FBu v+wNq46J+wL0JHg4bnEd5KFocH/PSN94r7fgyY1R+B9QgiafT8+B4hC7HPm3EUTqfyjr yod3S2yWGi/SGLhvzCGlA9jDtd7v2cpXIRbJzapD1VXxc35cNmrw83Q5WYe9qZP4PBt+ 5SA75lBgr9tQJOF/xtPNctEQf1Dque6Z0gkYGVoMYUsA2OOyN2K4Z5iKYzB+KJVhQuqy thYn31PnH+VS3IOdzEvcqvbtbdApMDB6K0QzHtSWX+xZxJFTVJQ+TmMXGKftcEw8LNUG Xwgg==
X-Gm-Message-State AIVw111drTMNhBfsarMUqKjRqbCczAI4MzXJRSv+WmE0xk/U3Kj4VRzV gRpGi5GxcELUow==
X-Received by 10.99.113.66 with SMTP id b2mr2141801pgn.216.1501848433316; Fri, 04 Aug 2017 05:07:13 -0700 (PDT)
X-Mailer git-send-email 1.9.1
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 32
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org
X-Original-Date Fri, 4 Aug 2017 17:36:36 +0530
X-Original-Message-ID <1501848407-21894-1-git-send-email-arvind.yadav.cs@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1703903

Show key headers only | 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 | Next — Next 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