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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to