projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa4c16d
)
drivers/net/enic: fix sparse warning: make symbol static
author
Hannes Eder
<hannes@hanneseder.net>
Fri, 26 Dec 2008 08:01:18 +0000
(
00:01
-0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 26 Dec 2008 08:01:18 +0000
(
00:01
-0800)
Fix this sparse warning:
drivers/net/enic/vnic_dev.c:288:5: warning: symbol 'vnic_dev_capable' was not declared. Should it be static?
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/vnic_dev.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/enic/vnic_dev.c
b/drivers/net/enic/vnic_dev.c
index 08a37b01bf370e906bda5c773c33d618bcd94805..11708579b6ce7c5bfd8143234bea6c1122cb1748 100644
(file)
--- a/
drivers/net/enic/vnic_dev.c
+++ b/
drivers/net/enic/vnic_dev.c
@@
-285,7
+285,7
@@
int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd,
return -ETIMEDOUT;
}
-int vnic_dev_capable(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd)
+
static
int vnic_dev_capable(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd)
{
u64 a0 = (u32)cmd, a1 = 0;
int wait = 1000;