linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fwd: mfd: Remove Unicode Byte Order Marks from da9055
       [not found] <20121217031937.D6BEF6606E7@gitolite.kernel.org>
@ 2012-12-17 10:49 ` Geert Uytterhoeven
  2013-01-14 17:29   ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2012-12-17 10:49 UTC (permalink / raw)
  To: stable, Samuel Ortiz; +Cc: linux-kernel

For 3.7


---------- Forwarded message ----------
From: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Date: Mon, Dec 17, 2012 at 4:19 AM
Subject: mfd: Remove Unicode Byte Order Marks from da9055
To: git-commits-head@vger.kernel.org


Gitweb:     http://git.kernel.org/linus/;a=commit;h=90a38d999739f35f4fc925c875e6ee518546b66c
Commit:     90a38d999739f35f4fc925c875e6ee518546b66c
Parent:     b851c06c241d4a2e43ee6007705765a9b1b3abb7
Author:     Geert Uytterhoeven <geert@linux-m68k.org>
AuthorDate: Mon Oct 15 22:44:45 2012 +0200
Committer:  Samuel Ortiz <sameo@linux.intel.com>
CommitDate: Mon Nov 12 00:54:57 2012 +0100

    mfd: Remove Unicode Byte Order Marks from da9055

    Older gcc (< 4.4) doesn't like files starting with Unicode BOMs:

    include/linux/mfd/da9055/core.h:1: error: stray ‘\357’ in program
    include/linux/mfd/da9055/core.h:1: error: stray ‘\273’ in program
    include/linux/mfd/da9055/core.h:1: error: stray ‘\277’ in program
    include/linux/mfd/da9055/pdata.h:1: error: stray ‘\357’ in program
    include/linux/mfd/da9055/pdata.h:1: error: stray ‘\273’ in program
    include/linux/mfd/da9055/pdata.h:1: error: stray ‘\277’ in program
    include/linux/mfd/da9055/reg.h:1: error: stray ‘\357’ in program
    include/linux/mfd/da9055/reg.h:1: error: stray ‘\273’ in program
    include/linux/mfd/da9055/reg.h:1: error: stray ‘\277’ in program

    Remove the BOMs, the rest of the files is plain ASCII anyway.

    Output of "file" before:

    include/linux/mfd/da9055/core.h:  UTF-8 Unicode (with BOM) C program text
    include/linux/mfd/da9055/pdata.h: UTF-8 Unicode (with BOM) C program text
    include/linux/mfd/da9055/reg.h:   UTF-8 Unicode (with BOM) C program text

    Output of "file" after:

    include/linux/mfd/da9055/core.h:  ASCII C program text
    include/linux/mfd/da9055/pdata.h: ASCII C program text
    include/linux/mfd/da9055/reg.h:   ASCII C program text

    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
---
 include/linux/mfd/da9055/core.h  |    2 +-
 include/linux/mfd/da9055/pdata.h |    2 +-
 include/linux/mfd/da9055/reg.h   |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/linux/mfd/da9055/core.h b/include/linux/mfd/da9055/core.h
index c96ad68..956afa4 100644
--- a/include/linux/mfd/da9055/core.h
+++ b/include/linux/mfd/da9055/core.h
@@ -1,4 +1,4 @@
-/*
+/*
  * da9055 declarations for DA9055 PMICs.
  *
  * Copyright(c) 2012 Dialog Semiconductor Ltd.
diff --git a/include/linux/mfd/da9055/pdata.h b/include/linux/mfd/da9055/pdata.h
index 147293b..b9b204e 100644
--- a/include/linux/mfd/da9055/pdata.h
+++ b/include/linux/mfd/da9055/pdata.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012 Dialog Semiconductor Ltd.
+/* Copyright (C) 2012 Dialog Semiconductor Ltd.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
diff --git a/include/linux/mfd/da9055/reg.h b/include/linux/mfd/da9055/reg.h
index df237ee..2b592e0 100644
--- a/include/linux/mfd/da9055/reg.h
+++ b/include/linux/mfd/da9055/reg.h
@@ -1,4 +1,4 @@
-/*
+/*
  * DA9055 declarations for DA9055 PMICs.
  *
  * Copyright(c) 2012 Dialog Semiconductor Ltd.
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


-- 
Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Fwd: mfd: Remove Unicode Byte Order Marks from da9055
  2012-12-17 10:49 ` Fwd: mfd: Remove Unicode Byte Order Marks from da9055 Geert Uytterhoeven
@ 2013-01-14 17:29   ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2013-01-14 17:29 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: stable, Samuel Ortiz, linux-kernel

On Mon, Dec 17, 2012 at 11:49:40AM +0100, Geert Uytterhoeven wrote:
> For 3.7

Now applied, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-14 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20121217031937.D6BEF6606E7@gitolite.kernel.org>
2012-12-17 10:49 ` Fwd: mfd: Remove Unicode Byte Order Marks from da9055 Geert Uytterhoeven
2013-01-14 17:29   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).