Re: [PATCH 1/n] libata-core.c conversion to new debugging scheme, part 1 (25% done)

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

 



On Thu, Jun 01, 2006 at 02:14:33AM -0400, Jeff Garzik wrote:
> The ata_msg_xxx level and KERN_xxx level are not perfectly mapped, nor
> should they be, so the proposed scheme may not work out once we have all
> the message levels integrated.

How about the folowing mapping for ATA-to-printk debugging levels:

ATA_MSG_DRV		----> KERN_INFO
ATA_MSG_INFO

ATA_MSG_PROBE	----> KERN_DEBUG
ATA_MSG_MALLOC
ATA_MSG_CTL
ATA_MSG_INTR

since those are in their nature debugging infos containing ENTER/EXIT
function_name calls

ATA_MSG_WARN	----> KERN_WARNING

ATA_MSG_ERR		----> KERN_ERR

but this I could do after the whole conversion thing is done so we have the new
dbg infrastructure first.

Regards,
	Boris.

	

	
		
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux