All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Masahiro Yamada <yamada.masahiro@socionext.com>,
	rmk+kernel@armlinux.org.uk, tony@atomide.com, j-keerthy@ti.com,
	linux-arm-kernel@lists.infradead.org
Cc: kernel list <linux-kernel@vger.kernel.org>,
	Michal Marek <michal.lkml@markovi.net>,
	Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>
Subject: [PATCH] fix perl locale warnings in arch/arm/boot/
Date: Mon, 27 Nov 2017 10:46:20 +0100	[thread overview]
Message-ID: <20171127094620.GA18072@amd> (raw)
In-Reply-To: <CAK7LNARWMpxxC9hT8f7rGj5McjdNU1GXfjML9NbWFTCGyQ++dg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1009 bytes --]


Commit 429f7a062e3b5cf6fcf01eb00600cee5fe4d751f introduced perl into
arch/arm/boot/compressed/Makefile, which unfortunately leads to locale
warnings.

Fix it by setting default locale.

Signed-off-by: Pavel Machek <pavel@ucw.cz>

diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile
index 45a6b9b..4656e98 100644
--- a/arch/arm/boot/compressed/Makefile
+++ b/arch/arm/boot/compressed/Makefile
@@ -118,7 +118,7 @@ asflags-y := -DZIMAGE
 
 # Supply kernel BSS size to the decompressor via a linker symbol.
 KBSS_SZ = $(shell $(CROSS_COMPILE)nm $(obj)/../../../../vmlinux | \
-		perl -e 'while (<>) { \
+		LC_ALL=C perl -e 'while (<>) { \
 			$$bss_start=hex($$1) if /^([[:xdigit:]]+) B __bss_start$$/; \
 			$$bss_end=hex($$1) if /^([[:xdigit:]]+) B __bss_stop$$/; \
 		}; printf "%d\n", $$bss_end - $$bss_start;')


-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: pavel@ucw.cz (Pavel Machek)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] fix perl locale warnings in arch/arm/boot/
Date: Mon, 27 Nov 2017 10:46:20 +0100	[thread overview]
Message-ID: <20171127094620.GA18072@amd> (raw)
In-Reply-To: <CAK7LNARWMpxxC9hT8f7rGj5McjdNU1GXfjML9NbWFTCGyQ++dg@mail.gmail.com>


Commit 429f7a062e3b5cf6fcf01eb00600cee5fe4d751f introduced perl into
arch/arm/boot/compressed/Makefile, which unfortunately leads to locale
warnings.

Fix it by setting default locale.

Signed-off-by: Pavel Machek <pavel@ucw.cz>

diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile
index 45a6b9b..4656e98 100644
--- a/arch/arm/boot/compressed/Makefile
+++ b/arch/arm/boot/compressed/Makefile
@@ -118,7 +118,7 @@ asflags-y := -DZIMAGE
 
 # Supply kernel BSS size to the decompressor via a linker symbol.
 KBSS_SZ = $(shell $(CROSS_COMPILE)nm $(obj)/../../../../vmlinux | \
-		perl -e 'while (<>) { \
+		LC_ALL=C perl -e 'while (<>) { \
 			$$bss_start=hex($$1) if /^([[:xdigit:]]+) B __bss_start$$/; \
 			$$bss_end=hex($$1) if /^([[:xdigit:]]+) B __bss_stop$$/; \
 		}; printf "%d\n", $$bss_end - $$bss_start;')


-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171127/252b7f1a/attachment.sig>

  reply	other threads:[~2017-11-27  9:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-19 22:27 v4.15-rc0 perl locale warnings Pavel Machek
2017-11-20 15:54 ` Masahiro Yamada
2017-11-27  9:46   ` Pavel Machek [this message]
2017-11-27  9:46     ` [PATCH] fix perl locale warnings in arch/arm/boot/ Pavel Machek
2017-12-15 20:16     ` Pavel Machek
2017-12-15 20:16       ` Pavel Machek
2017-12-19  8:24       ` Masahiro Yamada
2017-12-19  8:24         ` Masahiro Yamada

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=20171127094620.GA18072@amd \
    --to=pavel@ucw.cz \
    --cc=j-keerthy@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.lkml@markovi.net \
    --cc=rmk+kernel@armlinux.org.uk \
    --cc=tony@atomide.com \
    --cc=yamada.masahiro@socionext.com \
    /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.