From: Amit Kumar Salecha Date: Thu, 14 Jan 2010 01:53:24 +0000 (+0000) Subject: netxen: fix sparse warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1954dc11776ef8c06263ba4cd21bf4d25c79a19c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git netxen: fix sparse warning Signed-off-by: Amit Kumar Salecha Signed-off-by: David S. Miller --- diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index e5bdd4de7731..076f826d5a50 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c @@ -2596,7 +2596,7 @@ netxen_sysfs_read_mem(struct kobject *kobj, struct bin_attribute *attr, return size; } -ssize_t netxen_sysfs_write_mem(struct kobject *kobj, +static ssize_t netxen_sysfs_write_mem(struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t offset, size_t size) {