Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
93a3b607
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
93a3b607
编写于
11月 23, 2007
作者:
J
Jeff Garzik
提交者:
David S. Miller
1月 28, 2008
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
wireless: checkpatch cleanups
Signed-off-by:
N
Jeff Garzik
<
jgarzik@redhat.com
>
上级
092427be
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
14 addition
and
18 deletion
+14
-18
drivers/net/wireless/airo.c
drivers/net/wireless/airo.c
+1
-2
drivers/net/wireless/atmel.c
drivers/net/wireless/atmel.c
+1
-2
drivers/net/wireless/b43legacy/rfkill.c
drivers/net/wireless/b43legacy/rfkill.c
+1
-1
drivers/net/wireless/b43legacy/rfkill.h
drivers/net/wireless/b43legacy/rfkill.h
+2
-2
drivers/net/wireless/iwlwifi/iwl-3945-hw.h
drivers/net/wireless/iwlwifi/iwl-3945-hw.h
+1
-1
drivers/net/wireless/iwlwifi/iwl-4965-hw.h
drivers/net/wireless/iwlwifi/iwl-4965-hw.h
+1
-1
drivers/net/wireless/libertas/wext.c
drivers/net/wireless/libertas/wext.c
+2
-4
drivers/net/wireless/wavelan_cs.c
drivers/net/wireless/wavelan_cs.c
+5
-5
未找到文件。
drivers/net/wireless/airo.c
浏览文件 @
93a3b607
...
...
@@ -6408,9 +6408,8 @@ static int airo_set_encode(struct net_device *dev,
set_wep_key
(
local
,
index
,
NULL
,
0
,
perm
,
1
);
}
else
/* Don't complain if only change the mode */
if
(
!
(
dwrq
->
flags
&
IW_ENCODE_MODE
))
{
if
(
!
(
dwrq
->
flags
&
IW_ENCODE_MODE
))
return
-
EINVAL
;
}
}
/* Read the flags */
if
(
dwrq
->
flags
&
IW_ENCODE_DISABLED
)
...
...
drivers/net/wireless/atmel.c
浏览文件 @
93a3b607
...
...
@@ -1759,9 +1759,8 @@ static int atmel_set_encode(struct net_device *dev,
priv
->
default_key
=
index
;
}
else
/* Don't complain if only change the mode */
if
(
!
(
dwrq
->
flags
&
IW_ENCODE_MODE
))
{
if
(
!
(
dwrq
->
flags
&
IW_ENCODE_MODE
))
return
-
EINVAL
;
}
}
/* Read the flags */
if
(
dwrq
->
flags
&
IW_ENCODE_DISABLED
)
{
...
...
drivers/net/wireless/b43legacy/rfkill.c
浏览文件 @
93a3b607
...
...
@@ -97,7 +97,7 @@ static int b43legacy_rfkill_soft_toggle(void *data, enum rfkill_state state)
return
err
;
}
char
*
b43legacy_rfkill_led_name
(
struct
b43legacy_wldev
*
dev
)
char
*
b43legacy_rfkill_led_name
(
struct
b43legacy_wldev
*
dev
)
{
struct
b43legacy_wl
*
wl
=
dev
->
wl
;
...
...
drivers/net/wireless/b43legacy/rfkill.h
浏览文件 @
93a3b607
...
...
@@ -27,7 +27,7 @@ void b43legacy_rfkill_free(struct b43legacy_wldev *dev);
void
b43legacy_rfkill_init
(
struct
b43legacy_wldev
*
dev
);
void
b43legacy_rfkill_exit
(
struct
b43legacy_wldev
*
dev
);
char
*
b43legacy_rfkill_led_name
(
struct
b43legacy_wldev
*
dev
);
char
*
b43legacy_rfkill_led_name
(
struct
b43legacy_wldev
*
dev
);
#else
/* CONFIG_B43LEGACY_RFKILL */
...
...
@@ -49,7 +49,7 @@ static inline void b43legacy_rfkill_init(struct b43legacy_wldev *dev)
static
inline
void
b43legacy_rfkill_exit
(
struct
b43legacy_wldev
*
dev
)
{
}
static
inline
char
*
b43legacy_rfkill_led_name
(
struct
b43legacy_wldev
*
dev
)
static
inline
char
*
b43legacy_rfkill_led_name
(
struct
b43legacy_wldev
*
dev
)
{
return
NULL
;
}
...
...
drivers/net/wireless/iwlwifi/iwl-3945-hw.h
浏览文件 @
93a3b607
...
...
@@ -350,7 +350,7 @@ struct iwl_eeprom {
#define CSR_FH_INT_TX_MASK (CSR_FH_INT_BIT_TX_CHNL6 | \
CSR_FH_INT_BIT_TX_CHNL1 | \
CSR_FH_INT_BIT_TX_CHNL0
)
CSR_FH_INT_BIT_TX_CHNL0)
/* RESET */
...
...
drivers/net/wireless/iwlwifi/iwl-4965-hw.h
浏览文件 @
93a3b607
...
...
@@ -400,7 +400,7 @@ struct iwl_eeprom {
#define CSR_FH_INT_TX_MASK (CSR_FH_INT_BIT_TX_CHNL6 | \
CSR_FH_INT_BIT_TX_CHNL1 | \
CSR_FH_INT_BIT_TX_CHNL0
)
CSR_FH_INT_BIT_TX_CHNL0)
/* RESET */
...
...
drivers/net/wireless/libertas/wext.c
浏览文件 @
93a3b607
...
...
@@ -32,10 +32,8 @@ static inline void libertas_postpone_association_work(wlan_private *priv)
static
inline
void
libertas_cancel_association_work
(
wlan_private
*
priv
)
{
cancel_delayed_work
(
&
priv
->
assoc_work
);
if
(
priv
->
adapter
->
pending_assoc_req
)
{
kfree
(
priv
->
adapter
->
pending_assoc_req
);
priv
->
adapter
->
pending_assoc_req
=
NULL
;
}
kfree
(
priv
->
adapter
->
pending_assoc_req
);
priv
->
adapter
->
pending_assoc_req
=
NULL
;
}
...
...
drivers/net/wireless/wavelan_cs.c
浏览文件 @
93a3b607
...
...
@@ -3223,14 +3223,14 @@ wv_mmc_init(struct net_device * dev)
* non-NCR/AT&T/Lucent PCMCIA cards, see wavelan_cs.h for detail on
* how to configure your card...
*/
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
MAC_ADDRESSES
);
i
++
)
if
((
psa
.
psa_univ_mac_addr
[
0
]
==
MAC_ADDRESSES
[
i
][
0
])
&&
(
psa
.
psa_univ_mac_addr
[
1
]
==
MAC_ADDRESSES
[
i
][
1
])
&&
(
psa
.
psa_univ_mac_addr
[
2
]
==
MAC_ADDRESSES
[
i
][
2
]))
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
MAC_ADDRESSES
);
i
++
)
if
((
psa
.
psa_univ_mac_addr
[
0
]
==
MAC_ADDRESSES
[
i
][
0
])
&&
(
psa
.
psa_univ_mac_addr
[
1
]
==
MAC_ADDRESSES
[
i
][
1
])
&&
(
psa
.
psa_univ_mac_addr
[
2
]
==
MAC_ADDRESSES
[
i
][
2
]))
break
;
/* If we have not found it... */
if
(
i
==
ARRAY_SIZE
(
MAC_ADDRESSES
))
if
(
i
==
ARRAY_SIZE
(
MAC_ADDRESSES
))
{
#ifdef DEBUG_CONFIG_ERRORS
printk
(
KERN_WARNING
"%s: wv_mmc_init(): Invalid MAC address: %02X:%02X:%02X:...
\n
"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录