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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed,  4 Feb 2015 11:48:50 +0100
From:	Takashi Iwai <tiwai@...e.de>
To:	linux-edac@...r.kernel.org
Cc:	Doug Thompson <dougthompson@...ssion.com>,
	Borislav Petkov <bp@...en8.de>,
	Mauro Carvalho Chehab <mchehab@....samsung.com>,
	linux-kernel@...r.kernel.org
Subject: [PATCH 0/8] EDAC: Clean up device_create_file() & co

Hi,

this is a series of cleanup patches to replace the manual
device_create_file() and device_remove_file() calls with the static
attribute groups.  This simplifies the code and also avoids the
possible races between the device registration and sysfs creations.

Non-x86 driver have been only compile-tested.


Takashi

===

Takashi Iwai (8):
  EDAC: core: Use static attribute groups for managing sysfs entries
  EDAC: Allow to pass driver-specific attribute groups
  EDAC: amd64: Use static attribute groups
  EDAC: i7core: Return proper error codes for kzalloc() errors
  EDAC: i7core: Use static attribute groups for sysfs entries
  EDAC: mpc85xx: Use static attribute groups for sysfs entries
  EDAC: octeon: Use static attribute groups for sysfs entries
  EDAC: highbank: Use static attribute groups for sysfs entries

 drivers/edac/amd64_edac.c       |  47 +++---------
 drivers/edac/amd64_edac.h       |  24 +-----
 drivers/edac/amd64_edac_dbg.c   |  43 +++--------
 drivers/edac/amd64_edac_inj.c   |  51 ++++++-------
 drivers/edac/edac_core.h        |   4 +-
 drivers/edac/edac_mc.c          |  12 +--
 drivers/edac/edac_mc_sysfs.c    | 162 ++++++++++++++++++----------------------
 drivers/edac/edac_module.h      |   3 +-
 drivers/edac/highbank_mc_edac.c |  12 ++-
 drivers/edac/i7core_edac.c      |  33 +++-----
 drivers/edac/mpc85xx_edac.c     |  38 ++--------
 drivers/edac/octeon_edac-lmc.c  |  55 ++++----------
 12 files changed, 174 insertions(+), 310 deletions(-)

-- 
2.2.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ