[PATCH 0/2 v4] staging: unisys: visorchipset proc fixes

Benjamin Romer benjamin.romer at unisys.com
Fri Jul 25 02:55:07 UTC 2014


This patch set moves the parahotplug interface in the visorchipset module from
procfs to sysfs, and removes the visorchipset/partition tree from proc. It also
includes some code cleanup in the new sysfs handler functions.

In version 4 of the set, the accidental inclusion of a change to the Makefile
made for testing was fixed.

In version 3 of the set, an unused second parameter was removed from the
chipsetready attribute, and the parahotplug interface was split into two
separate attributes. Additional documentation has been added to the ABI doc
file to describe the use of these interfaces. Formatting mistakes were corrected
and sysfs attribute functions were made static to match their prototypes.

In version 2 of the set, extraneous checks for controlvm_channel pointer 
validity were removed, all newly created attributes use DEVICE_ATTR_RW or 
DEVICE_ATTR_WO, and logging was removed from the show and store functions to 
prevent creating a DOS attack possibility.

Benjamin Romer (2):
  staging: unisys: remove partition information from proc
  staging: unisys: move parahotplug to sysfs

 .../unisys/visorchipset/visorchipset_main.c        | 198 ++++-----------------
 1 file changed, 39 insertions(+), 159 deletions(-)

-- 
1.9.1



More information about the devel mailing list