All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <k.kozlowski@samsung.com>
To: Arnd Bergmann <arnd@arndb.de>, linux-samsung-soc@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
	Kukjin Kim <kgene@kernel.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 5/6] ARM: s3c64xx: mark regulator init data as unused
Date: Mon, 01 Feb 2016 10:18:59 +0900	[thread overview]
Message-ID: <56AEB283.5040101@samsung.com> (raw)
In-Reply-To: <1454079040-3567945-6-git-send-email-arnd@arndb.de>

On 29.01.2016 23:50, Arnd Bergmann wrote:
> The smdk6410 board defines lots of regulator settings, but uses
> most of them only in certain configurations, and otherwise leaves
> them without any references, so we get lots of randconfig warnings
> about them:
> 
> mach-s3c64xx/mach-smdk6410.c:303:35: error: 'smdk6410_vddarm' defined but not used [-Werror=unused-variable]
> mach-s3c64xx/mach-smdk6410.c:316:35: error: 'smdk6410_vddint' defined but not used [-Werror=unused-variable]
> mach-s3c64xx/mach-smdk6410.c:327:35: error: 'smdk6410_vddhi' defined but not used [-Werror=unused-variable]
> mach-s3c64xx/mach-smdk6410.c:335:35: error: 'smdk6410_vddpll' defined but not used [-Werror=unused-variable]
> mach-s3c64xx/mach-smdk6410.c:343:35: error: 'smdk6410_vdduh_mmc' defined but not used [-Werror=unused-variable]
> 
> This marks all regulator_init_data structures in this file as
> __maybe_unused, indicating that we don't care whether there
> are any references or not in a given configuration.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
>  arch/arm/mach-s3c64xx/mach-smdk6410.c | 38 +++++++++++++++++------------------
>  1 file changed, 19 insertions(+), 19 deletions(-)
> 

Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

Best regards,
Krzysztof

WARNING: multiple messages have this Message-ID (diff)
From: k.kozlowski@samsung.com (Krzysztof Kozlowski)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/6] ARM: s3c64xx: mark regulator init data as unused
Date: Mon, 01 Feb 2016 10:18:59 +0900	[thread overview]
Message-ID: <56AEB283.5040101@samsung.com> (raw)
In-Reply-To: <1454079040-3567945-6-git-send-email-arnd@arndb.de>

On 29.01.2016 23:50, Arnd Bergmann wrote:
> The smdk6410 board defines lots of regulator settings, but uses
> most of them only in certain configurations, and otherwise leaves
> them without any references, so we get lots of randconfig warnings
> about them:
> 
> mach-s3c64xx/mach-smdk6410.c:303:35: error: 'smdk6410_vddarm' defined but not used [-Werror=unused-variable]
> mach-s3c64xx/mach-smdk6410.c:316:35: error: 'smdk6410_vddint' defined but not used [-Werror=unused-variable]
> mach-s3c64xx/mach-smdk6410.c:327:35: error: 'smdk6410_vddhi' defined but not used [-Werror=unused-variable]
> mach-s3c64xx/mach-smdk6410.c:335:35: error: 'smdk6410_vddpll' defined but not used [-Werror=unused-variable]
> mach-s3c64xx/mach-smdk6410.c:343:35: error: 'smdk6410_vdduh_mmc' defined but not used [-Werror=unused-variable]
> 
> This marks all regulator_init_data structures in this file as
> __maybe_unused, indicating that we don't care whether there
> are any references or not in a given configuration.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
>  arch/arm/mach-s3c64xx/mach-smdk6410.c | 38 +++++++++++++++++------------------
>  1 file changed, 19 insertions(+), 19 deletions(-)
> 

Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

Best regards,
Krzysztof

  reply	other threads:[~2016-02-01  1:18 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-29 14:50 [PATCH 0/6] ARM: samsung warning fixes Arnd Bergmann
2016-01-29 14:50 ` Arnd Bergmann
2016-01-29 14:50 ` [PATCH 1/6] ARM: s3c24xx: don't select EEPROM_AT24 Arnd Bergmann
2016-01-29 14:50   ` Arnd Bergmann
2016-02-01  0:40   ` Krzysztof Kozlowski
2016-02-01  0:40     ` Krzysztof Kozlowski
2016-01-29 14:50 ` [PATCH 2/6] ARM: s3c24xx: allow selecting S3C2440_XTAL_16934400 for s3c2442 Arnd Bergmann
2016-01-29 14:50   ` Arnd Bergmann
2016-02-01  0:46   ` Krzysztof Kozlowski
2016-02-01  0:46     ` Krzysztof Kozlowski
2016-01-29 14:50 ` [PATCH 3/6] ARM: s3c24xx: fix unused gta02_configure_pmu_for_charger warning Arnd Bergmann
2016-01-29 14:50   ` Arnd Bergmann
2016-01-29 14:50   ` Arnd Bergmann
2016-02-01  0:49   ` Krzysztof Kozlowski
2016-02-01  0:49     ` Krzysztof Kozlowski
2016-01-29 14:50 ` [PATCH 4/6] ARM: s3c24xx: don't select RFKILL if CONFIG_NET is disabled Arnd Bergmann
2016-01-29 14:50   ` Arnd Bergmann
2016-02-01  0:59   ` Krzysztof Kozlowski
2016-02-01  0:59     ` Krzysztof Kozlowski
2016-01-29 14:50 ` [PATCH 5/6] ARM: s3c64xx: mark regulator init data as unused Arnd Bergmann
2016-01-29 14:50   ` Arnd Bergmann
2016-02-01  1:18   ` Krzysztof Kozlowski [this message]
2016-02-01  1:18     ` Krzysztof Kozlowski
2016-01-29 14:50 ` [PATCH 6/6] ARM: exynos: select THERMAL_OF Arnd Bergmann
2016-01-29 14:50   ` Arnd Bergmann
2016-02-01  1:26   ` Krzysztof Kozlowski
2016-02-01  1:26     ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56AEB283.5040101@samsung.com \
    --to=k.kozlowski@samsung.com \
    --cc=arnd@arndb.de \
    --cc=kgene@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.