base-files: apply network interface settings such as macaddr, mtu and txqueuelen...
[openwrt.git] / package / mac80211 / patches / 120-pr_fmt_warnings.patch
1 --- a/drivers/net/wireless/iwlegacy/iwl3945-base.c
2 +++ b/drivers/net/wireless/iwlegacy/iwl3945-base.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/libertas_tf/cmd.c
12 +++ b/drivers/net/wireless/libertas_tf/cmd.c
13 @@ -7,6 +7,7 @@
14 * the Free Software Foundation; either version 2 of the License, or (at
15 * your option) any later version.
16 */
17 +#undef pr_fmt
18 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
19
20 #include <linux/hardirq.h>
21 --- a/drivers/net/wireless/libertas_tf/if_usb.c
22 +++ b/drivers/net/wireless/libertas_tf/if_usb.c
23 @@ -9,6 +9,7 @@
24 */
25 #define DRV_NAME "lbtf_usb"
26
27 +#undef pr_fmt
28 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
29
30 #include "libertas_tf.h"
31 --- a/drivers/net/wireless/libertas_tf/main.c
32 +++ b/drivers/net/wireless/libertas_tf/main.c
33 @@ -7,6 +7,7 @@
34 * the Free Software Foundation; either version 2 of the License, or (at
35 * your option) any later version.
36 */
37 +#undef pr_fmt
38 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
39
40 #include <linux/hardirq.h>
41 --- a/net/wireless/core.c
42 +++ b/net/wireless/core.c
43 @@ -4,6 +4,7 @@
44 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
45 */
46
47 +#undef pr_fmt
48 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
49
50 #include <linux/if.h>
51 --- a/net/wireless/lib80211.c
52 +++ b/net/wireless/lib80211.c
53 @@ -13,6 +13,7 @@
54 *
55 */
56
57 +#undef pr_fmt
58 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
59
60 #include <linux/module.h>
61 --- a/net/wireless/lib80211_crypt_tkip.c
62 +++ b/net/wireless/lib80211_crypt_tkip.c
63 @@ -10,6 +10,7 @@
64 * more details.
65 */
66
67 +#undef pr_fmt
68 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
69
70 #include <linux/err.h>
71 --- a/net/wireless/reg.c
72 +++ b/net/wireless/reg.c
73 @@ -33,6 +33,7 @@
74 *
75 */
76
77 +#undef pr_fmt
78 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
79
80 #include <linux/kernel.h>
81 --- a/drivers/net/wireless/iwlegacy/iwl4965-base.c
82 +++ b/drivers/net/wireless/iwlegacy/iwl4965-base.c
83 @@ -27,6 +27,7 @@
84 *
85 *****************************************************************************/
86
87 +#undef pr_fmt
88 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
89
90 #include <linux/kernel.h>
91 --- a/drivers/net/wireless/libertas/cfg.c
92 +++ b/drivers/net/wireless/libertas/cfg.c
93 @@ -6,6 +6,7 @@
94 *
95 */
96
97 +#undef pr_fmt
98 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
99
100 #include <linux/hardirq.h>
101 --- a/drivers/net/wireless/libertas/if_cs.c
102 +++ b/drivers/net/wireless/libertas/if_cs.c
103 @@ -21,6 +21,7 @@
104
105 */
106
107 +#undef pr_fmt
108 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
109
110 #include <linux/module.h>
111 --- a/drivers/net/wireless/libertas/if_sdio.c
112 +++ b/drivers/net/wireless/libertas/if_sdio.c
113 @@ -26,6 +26,7 @@
114 * if_sdio_card_to_host() to pad the data.
115 */
116
117 +#undef pr_fmt
118 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
119
120 #include <linux/kernel.h>
121 --- a/drivers/net/wireless/libertas/if_spi.c
122 +++ b/drivers/net/wireless/libertas/if_spi.c
123 @@ -17,6 +17,7 @@
124 * (at your option) any later version.
125 */
126
127 +#undef pr_fmt
128 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
129
130 #include <linux/hardirq.h>
131 --- a/drivers/net/wireless/libertas/if_usb.c
132 +++ b/drivers/net/wireless/libertas/if_usb.c
133 @@ -2,6 +2,7 @@
134 * This file contains functions used in USB interface module.
135 */
136
137 +#undef pr_fmt
138 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
139
140 #include <linux/delay.h>
141 --- a/drivers/net/wireless/libertas/main.c
142 +++ b/drivers/net/wireless/libertas/main.c
143 @@ -4,6 +4,7 @@
144 * thread etc..
145 */
146
147 +#undef pr_fmt
148 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
149
150 #include <linux/moduleparam.h>
151 --- a/drivers/net/wireless/libertas/mesh.c
152 +++ b/drivers/net/wireless/libertas/mesh.c
153 @@ -1,3 +1,4 @@
154 +#undef pr_fmt
155 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
156
157 #include <linux/delay.h>
158 --- a/drivers/net/wireless/libertas/rx.c
159 +++ b/drivers/net/wireless/libertas/rx.c
160 @@ -2,6 +2,7 @@
161 * This file contains the handling of RX in wlan driver.
162 */
163
164 +#undef pr_fmt
165 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
166
167 #include <linux/etherdevice.h>
168 --- a/compat/crc8.c
169 +++ b/compat/crc8.c
170 @@ -14,6 +14,7 @@
171 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
172 */
173
174 +#undef pr_fmt
175 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
176
177 #include <linux/module.h>
This page took 0.0472 seconds and 5 git commands to generate.