Re: Missing message prefix in target_core_device.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David,

>   "Rounding down aligned max_sectors from 4294967295 to 4294967288"
>
> but without a prefix, printed from drivers/target/target_core_device.c.
> It's pr_info so the prefix should be defined at the top of the file as
> pr_fmt and it'll be picked by the pr_* macros automatically.
>
> I'm not sending a patch as I don't know what would be the preferred
> prefix, eg. drivers/target/target_core_user.c prints "tcmu daemon" but
> does not use pr_*, and there are several bare printk calls in the same
> file.  This should be unified in some way but I'm not familiar with the
> target code.

I agree that the target subsystem could do with some improvements in
this area. Many different drivers and components, no consistency in how
things are logged.

Would be a great project for someone. I'll put it on the list.

-- 
Martin K. Petersen	Oracle Linux Engineering



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux