[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <877en5v2bu.fsf@kamboji.qca.qualcomm.com>
Date: Mon, 11 Jun 2018 17:13:09 +0300
From: Kalle Valo <kvalo@...eaurora.org>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Eyal Ilsar <eilsar@...eaurora.org>,
"David S . Miller" <davem@...emloft.net>,
Arnd Bergmann <arnd@...db.de>, netdev@...r.kernel.org,
linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
wcn36xx@...ts.infradead.org
Subject: Re: [PATCH] wcn36xx: Remove Unicode Byte Order Mark from testcode
Geert Uytterhoeven <geert@...ux-m68k.org> writes:
> Older gcc (< 4.4) doesn't like files starting with a Unicode BOM:
>
> drivers/net/wireless/ath/wcn36xx/testmode.c:1: error: stray ‘\357’ in program
> drivers/net/wireless/ath/wcn36xx/testmode.c:1: error: stray ‘\273’ in program
> drivers/net/wireless/ath/wcn36xx/testmode.c:1: error: stray ‘\277’ in program
>
> Remove the BOM, the rest of the file is plain ASCII anyway.
>
> Output of "file drivers/net/wireless/ath/wcn36xx/testmode.c" before:
>
> drivers/net/wireless/ath/wcn36xx/testmode.c: C source, UTF-8 Unicode (with BOM) text
>
> and after:
>
> drivers/net/wireless/ath/wcn36xx/testmode.c: C source, ASCII text
>
> Fixes: 87f825e6e246cee0 ("wcn36xx: Add support for Factory Test Mode (FTM)")
> Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>
I'll queue this for 4.18.
--
Kalle Valo
Powered by blists - more mailing lists