[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150402055824.GA548@swordfish>
Date: Thu, 2 Apr 2015 14:58:24 +0900
From: Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>
To: Dmitry Monakhov <dmonakhov@...nvz.org>
Cc: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
axboe@...nel.dk, viro@...iv.linux.org.uk, dm-devel@...hat.com
Subject: Re: [PATCH 6/7] block/partitions: use block_device name vsprintf
helper
On (03/31/15 20:01), Dmitry Monakhov wrote:
[..]
> if(be32_to_cpu(magic) != SGI_LABEL_MAGIC) {
> - /*printk("Dev %s SGI disklabel: bad magic %08x\n",
> - bdevname(bdev, b), be32_to_cpu(magic));*/
> + /*printk("Dev %pg SGI disklabel: bad magic %08x\n",
> + bdev, be32_to_cpu(magic));*/
>
[..]
> p = label->partitions;
> if (be16_to_cpu(label->magic) != SUN_LABEL_MAGIC) {
> -/* printk(KERN_INFO "Dev %s Sun disklabel: bad magic %04x\n",
> - bdevname(bdev, b), be16_to_cpu(label->magic)); */
> +/* printk(KERN_INFO "Dev %pg Sun disklabel: bad magic %04x\n",
> + bdev, be16_to_cpu(label->magic)); */
> put_dev_sector(sect);
may be entirely remove these commented out printk()-s?
-ss
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists