[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DM5PR11MB172334FF9A978C71E05A0B4197FB0@DM5PR11MB1723.namprd11.prod.outlook.com>
Date: Thu, 8 Sep 2016 12:37:13 +0000
From: Yuval Mintz <Yuval.Mintz@...gic.com>
To: Baoyou Xie <baoyou.xie@...aro.org>,
David Miller <davem@...emloft.net>
CC: Dept-Eng Everest Linux L2 <Dept-EngEverestLinuxL2@...gic.com>,
netdev <netdev@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
"arnd@...db.de" <arnd@...db.de>,
"xie.baoyou@....com.cn" <xie.baoyou@....com.cn>,
Ariel Elior <Ariel.Elior@...gic.com>
Subject: RE: [PATCH v2] qed: mark symbols static where possible
> ....
>
> In fact, these functions are only used in the file in which they are
> declared and don't need a declaration, but can be made static.
> so this patch marks these functions with 'static'.
...
> -void qed_get_vport_stats(struct qed_dev *cdev,
> - struct qed_eth_stats *stats)
> +static void qed_get_vport_stats(struct qed_dev *cdev,
>+ struct qed_eth_stats *stats)
Looks like you've missed my comment from v1 -
> 1. qed_get_vport_stats() is in use in net-next by qed_main.c starting
> with
> 6c75424612a7 ("qed: Add support for NCSI statistics."), so we
> shouldn't make it static.
Besides, it still doesn't apply to net-next
[as net-next has function declaration as a single liner].
Powered by blists - more mailing lists