]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ehca: Beautify sysfs attribute code and fix compiler warnings
authorJoachim Fenkes <fenkes@de.ibm.com>
Wed, 9 May 2007 11:48:25 +0000 (13:48 +0200)
committerRoland Dreier <rolandd@cisco.com>
Mon, 14 May 2007 20:40:45 +0000 (13:40 -0700)
commit6e022c900bc7849fe1fac1a5bd2ecc7f3fc0f594
treec23803b89b94e22c394e4fba2a4195544d348088
parent6bf387f82115e193c2ba0436557f5f56e6a36cb6
IB/ehca: Beautify sysfs attribute code and fix compiler warnings

eHCA's sysfs attributes are now being created via sysfs_create_group(),
making the process neatly table-driven. The return value is checked, thus
fixing a few compiler warnings.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_main.c