lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C57E6F9.6080104@panasas.com>
Date:	Tue, 03 Aug 2010 12:52:57 +0300
From:	Boaz Harrosh <bharrosh@...asas.com>
To:	hacklu <embedway.linux@...il.com>
CC:	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: how about KBUILD_MODNAME

On 08/03/2010 10:11 AM, hacklu wrote:
> 
> I don't understand the macro KBUILD_MODNAME .
> when I compile a  driver program. It returns me "linux/pci.h:655: error: 'KBUILD_MODNAME' undeclared (first use in this function) "
> 
> In the makefile I had used the "-D" options
> 
> thanks a lot
> 
> 2010-08-03 
> 
> hacklu 
> 

The KBUILD_MODNAME fails to be set when there are two drivers built from the same
directory. There are many directories in the source tree with more then one driver
but they don't use the pr_debug macro.

Cheers
Boaz
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ