[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180119.143651.630642000688996110.davem@davemloft.net>
Date: Fri, 19 Jan 2018 14:36:51 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: jiri@...lanox.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][devlink-next] devlink: make functions a couple of new
functions static
From: Colin King <colin.king@...onical.com>
Date: Wed, 17 Jan 2018 11:23:03 +0000
> From: Colin Ian King <colin.king@...onical.com>
>
> The functions devlink_resource_find and devlink_resource_validate_children
> are local to the source and do not need to be in global scope, so make
> them static.
>
> Cleans up sparse warnings:
> symbol 'devlink_resource_find' was not declared. Should it be static?
> warning: symbol 'devlink_resource_validate_children' was not declared.
> Should it be static?
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied.
Powered by blists - more mailing lists