[tools] build flex on the host, some pakcages need it in the newest version
[openwrt.git] / package / mac80211 / patches / 120-pr_fmt_warnings.patch
1 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c
2 +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
3 @@ -27,6 +27,7 @@
4 *
5 *****************************************************************************/
6
7 +#undef pr_fmt
8 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
9
10 #include <linux/kernel.h>
11 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
12 +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
13 @@ -27,6 +27,7 @@
14 *
15 *****************************************************************************/
16
17 +#undef pr_fmt
18 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
19
20 #include <linux/kernel.h>
21 --- a/drivers/net/wireless/libertas_tf/cmd.c
22 +++ b/drivers/net/wireless/libertas_tf/cmd.c
23 @@ -7,6 +7,7 @@
24 * the Free Software Foundation; either version 2 of the License, or (at
25 * your option) any later version.
26 */
27 +#undef pr_fmt
28 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
29
30 #include <linux/slab.h>
31 --- a/drivers/net/wireless/libertas_tf/if_usb.c
32 +++ b/drivers/net/wireless/libertas_tf/if_usb.c
33 @@ -9,6 +9,7 @@
34 */
35 #define DRV_NAME "lbtf_usb"
36
37 +#undef pr_fmt
38 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
39
40 #include "libertas_tf.h"
41 --- a/drivers/net/wireless/libertas_tf/main.c
42 +++ b/drivers/net/wireless/libertas_tf/main.c
43 @@ -7,6 +7,7 @@
44 * the Free Software Foundation; either version 2 of the License, or (at
45 * your option) any later version.
46 */
47 +#undef pr_fmt
48 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
49
50 #include <linux/slab.h>
51 --- a/net/wireless/core.c
52 +++ b/net/wireless/core.c
53 @@ -4,6 +4,7 @@
54 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
55 */
56
57 +#undef pr_fmt
58 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
59
60 #include <linux/if.h>
61 --- a/net/wireless/lib80211.c
62 +++ b/net/wireless/lib80211.c
63 @@ -13,6 +13,7 @@
64 *
65 */
66
67 +#undef pr_fmt
68 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
69
70 #include <linux/module.h>
71 --- a/net/wireless/lib80211_crypt_tkip.c
72 +++ b/net/wireless/lib80211_crypt_tkip.c
73 @@ -10,6 +10,7 @@
74 * more details.
75 */
76
77 +#undef pr_fmt
78 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
79
80 #include <linux/err.h>
81 --- a/net/wireless/reg.c
82 +++ b/net/wireless/reg.c
83 @@ -33,6 +33,7 @@
84 *
85 */
86
87 +#undef pr_fmt
88 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
89
90 #include <linux/kernel.h>
This page took 0.04497 seconds and 5 git commands to generate.