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:   Fri,  4 Aug 2017 10:33:25 +0530
From:   Arvind Yadav <arvind.yadav.cs@...il.com>
To:     daniel.vetter@...el.com, jani.nikula@...ux.intel.com,
        airlied@...ux.ie
Cc:     intel-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
        linux-kernel@...r.kernel.org
Subject: [PATCH 00/11] constify i915 attribute_group structures.

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] drm: i915: i915_oa_kblgt2: constify attribute_group structures.
  [PATCH 02/11] drm: i915: i915_oa_bdw: constify attribute_group structures.
  [PATCH 03/11] drm: i915: i915_oa_bxt: constify attribute_group structures.
  [PATCH 04/11] drm: i915: i915_oa_chv: constify attribute_group structures.
  [PATCH 05/11] drm: i915: i915_oa_glk: constify attribute_group structures.
  [PATCH 06/11] drm: i915: i915_oa_hsw: constify attribute_group structures.
  [PATCH 07/11] drm: i915: i915_oa_kblgt3: constify attribute_group structures.
  [PATCH 08/11] drm: i915: i915_oa_sklgt2: constify attribute_group structures.
  [PATCH 09/11] drm: i915: i915_oa_sklgt3: constify attribute_group structures.
  [PATCH 10/11] drm: i915: i915_oa_sklgt4: constify attribute_group structures.
  [PATCH 11/11] drm: i915: i915_sysfs: constify attribute_group structures.

 drivers/gpu/drm/i915/i915_oa_bdw.c    | 44 +++++++++++++++++------------------
 drivers/gpu/drm/i915/i915_oa_bxt.c    | 30 ++++++++++++------------
 drivers/gpu/drm/i915/i915_oa_chv.c    | 28 +++++++++++-----------
 drivers/gpu/drm/i915/i915_oa_glk.c    | 30 ++++++++++++------------
 drivers/gpu/drm/i915/i915_oa_hsw.c    | 12 +++++-----
 drivers/gpu/drm/i915/i915_oa_kblgt2.c | 36 ++++++++++++++--------------
 drivers/gpu/drm/i915/i915_oa_kblgt3.c | 36 ++++++++++++++--------------
 drivers/gpu/drm/i915/i915_oa_sklgt2.c | 36 ++++++++++++++--------------
 drivers/gpu/drm/i915/i915_oa_sklgt3.c | 36 ++++++++++++++--------------
 drivers/gpu/drm/i915/i915_oa_sklgt4.c | 36 ++++++++++++++--------------
 drivers/gpu/drm/i915/i915_sysfs.c     |  6 ++---
 11 files changed, 165 insertions(+), 165 deletions(-)

-- 
1.9.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ