[PATCH v2 0/9] nbd: cleanups

From: Markus Pargmann
Date: Thu Mar 12 2015 - 09:38:44 EST


Hi,

v2 fixes the dev_dbg outputs to contain the device name only once.

For the moment I would prefer to use dev_dbg instead of the previous
implementation of categorized outputs as it seems more flexible without code
modification. As soon as there is a generic framework for categorized dev_dbg
I am happy to use that.

Patch 3 removes the internal kernel header of nbd as it is only used for nbd.c.
We can define the device struct at the top of nbd.c instead.
Patch 6 replaces the previously used dprint macro with dev_dbg. dev_dbg()
should work as well as dprint did.

The other patches change some minor things.

Best Regards,

Markus


Markus Pargmann (9):
Documentation: nbd: Reformat to allow more documentation
Documentation: nbd: Add list of module parameters
nbd: Remove kernel internal header
nbd: Replace kthread_create with kthread_run
nbd: Fix device bytesize type
nbd: Restructure debugging prints
nbd: Remove fixme that was already fixed
nbd: Return error code directly
nbd: Return error pointer directly

Documentation/blockdev/nbd.txt | 48 +++++++++-----
drivers/block/nbd.c | 140 ++++++++++++++++-------------------------
include/linux/nbd.h | 46 --------------
3 files changed, 86 insertions(+), 148 deletions(-)
delete mode 100644 include/linux/nbd.h

--
2.1.4

--
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/