Search Linux Wireless

Re: [PATCH V2] rtlwifi: Move pr_fmt macros to a single location

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

 



On Tue, 2012-01-17 at 22:19 -0600, Larry Finger wrote:
> Although the rtlwifi family of devices contains 11 copies of the pr_fmt
> macro, the macro is not defined for all routines that need it. By moving
> the macro to wifi.h, a single copy is available for all routines.
> +++ wireless-testing-new/drivers/net/wireless/rtlwifi/rtl8192ce/sw.c
> @@ -43,6 +40,9 @@
>  #include "trx.h"
>  #include "led.h"
>  
> +#include <linux/vmalloc.h>
> +#include <linux/module.h>

You might try sorting out what's actually
necessary to have #included in each file.

vmalloc.h, usb.h and lots of others are already
#included via wifi.h

Another possibility is to add -I..
to the Makefiles so the #includes aren't
specified by relative path.

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux