Re: Implicit declaration printk warning

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

 




> While trying kernel function to print a message to console using
> printk, am getting a warning "warning: Implicit declaration of printk
> function"
> I suppose this is the cause for my message not getting printed.

 I don't think so. The warning tells that you haven't provided the
prototype of printk() before using it, and therefore the compiler
cannot do any type checking. This in itself is not a reason for
messages not getting printed. 

-Ravi.

__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux