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


Groups > linux.kernel > #1730714 > unrolled thread

Re: [PATCH][pinctrl-next] pinctrl: sprd: make three local functions static

Started byLinus Walleij <linus.walleij@linaro.org>
First post2017-09-12 09:40 +0200
Last post2017-09-12 09:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH][pinctrl-next] pinctrl: sprd: make three local functions static Linus Walleij <linus.walleij@linaro.org> - 2017-09-12 09:40 +0200

#1730714 — Re: [PATCH][pinctrl-next] pinctrl: sprd: make three local functions static

FromLinus Walleij <linus.walleij@linaro.org>
Date2017-09-12 09:40 +0200
SubjectRe: [PATCH][pinctrl-next] pinctrl: sprd: make three local functions static
Message-ID<uoNXA-6OK-25@gated-at.bofh.it>
On Mon, Sep 4, 2017 at 12:53 PM, Colin King <colin.king@canonical.com> wrote:

> From: Colin Ian King <colin.king@canonical.com>
>
> The functions sprd_pmx_get_function_count, sprd_pmx_get_function_name
> and sprd_pmx_get_function_groups are local to the source and do not
> need to be in global scope, so make them static.
>
> Cleans up sparse warnings:
> "symbol 'sprd_pmx_get_function_count' was not declared. Should it be
> static?"
> "symbol 'sprd_pmx_get_function_name' was not declared. Should it be
> static?"
> "symbol 'sprd_pmx_get_function_groups' was not declared. Should it be
> static?"
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Patch applied for fixes.

Yours,
Linus Walleij

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web