]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
This is only an error, no need to use KERN_CRIT log level.
authorWANG Cong <amwang@redhat.com>
Wed, 24 Aug 2011 23:47:51 +0000 (09:47 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 29 Aug 2011 05:23:04 +0000 (15:23 +1000)
Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Paul Clements <Paul.Clements@steeleye.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/nbd.c

index 1b8e09fffd5a421d8120f8c4569f132aa9b8dab6..2b5fc11be3777ca8ac147aed24db5baa19b6fdea 100644 (file)
@@ -745,7 +745,7 @@ static int __init nbd_init(void)
        BUILD_BUG_ON(sizeof(struct nbd_request) != 28);
 
        if (max_part < 0) {
-               printk(KERN_CRIT "nbd: max_part must be >= 0\n");
+               printk(KERN_ERR "nbd: max_part must be >= 0\n");
                return -EINVAL;
        }