[PATCH 00/13] cciss: clean up cciss_ioctl()

From: Stephen M. Cameron
Date: Thu Aug 26 2010 - 14:49:26 EST


This series of patches factors out all of cases of the giant
switch statement in cciss_ioctl into separate functions. And
there's one patch at the end that gets rid of some superfluous
if statements in the big passthru path.

I've run test programs that exercise all these ioctls and they
appear to still work.
---

Stephen M. Cameron (13):
cciss: factor out cciss_getpciinfo
cciss: factor out cciss_getintinfo
cciss: factor out cciss_setintinfo
cciss: factor out cciss_getnodename
cciss: factor out cciss_setnodename
cciss: factor out cciss_getheartbeat
cciss: factor out cciss_getbustypes
cciss: factor out cciss_getfirmver
cciss: factor out cciss_getdrivver
cciss: factor out cciss_getluninfo
cciss: factor out cciss_passthru
cciss: factor out cciss_big_passthru
cciss: remove some superfluous tests from cciss_bigpassthru()


drivers/block/cciss.c | 842 ++++++++++++++++++++++++-------------------------
1 files changed, 412 insertions(+), 430 deletions(-)

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