Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1741724

Re: [PATCH][next] cxgb4: make function ch_flower_stats_cb, fixes warning

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH][next] cxgb4: make function ch_flower_stats_cb, fixes warning
Date 2017-09-28 19:30 +0200
Message-ID <uuKNj-3o9-9@gated-at.bofh.it> (permalink)
References <utZOq-6tc-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Colin King <colin.king@canonical.com>
Date: Tue, 26 Sep 2017 16:14:09 +0100

> From: Colin Ian King <colin.king@canonical.com>
> 
> The function ch_flower_stats_cb is local to the source and does not need
> to be in global scope, so make it static.
> 
> Cleans up sparse warnings:
> symbol 'ch_flower_stats_cb' was not declared. Should it be static?
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH][next] cxgb4: make function ch_flower_stats_cb, fixes  warning David Miller <davem@davemloft.net> - 2017-09-28 19:30 +0200

csiph-web