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


Groups > linux.kernel > #1364653 > unrolled thread

[PATCH 0/2] tools/gpio: Add missing initialization of device_name

Started byGeert Uytterhoeven <geert+renesas@glider.be>
First post2016-03-25 13:40 +0100
Last post2016-03-31 12:00 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] tools/gpio: Add missing initialization of device_name Geert Uytterhoeven <geert+renesas@glider.be> - 2016-03-25 13:40 +0100
    [PATCH 1/2] tools/gpio: Enable compiler optimization to catch more bugs Geert Uytterhoeven <geert+renesas@glider.be> - 2016-03-25 13:40 +0100
      Re: [PATCH 1/2] tools/gpio: Enable compiler optimization to catch  more bugs Linus Walleij <linus.walleij@linaro.org> - 2016-03-31 12:00 +0200

#1364653 — [PATCH 0/2] tools/gpio: Add missing initialization of device_name

FromGeert Uytterhoeven <geert+renesas@glider.be>
Date2016-03-25 13:40 +0100
Subject[PATCH 0/2] tools/gpio: Add missing initialization of device_name
Message-ID<rgzbY-1Ed-5@gated-at.bofh.it>
	Hi Linus, Alex,

This small series enables compiler optimization for the GPIO tools, to
catch more bugs, and fix the bug found by it.

Geert Uytterhoeven (2):
  tools/gpio: Enable compiler optimization to catch more bugs
  tools/gpio: Add missing initialization of device_name

 tools/gpio/Makefile | 2 +-
 tools/gpio/lsgpio.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
1.9.1

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

[toc] | [next] | [standalone]


#1364655 — [PATCH 1/2] tools/gpio: Enable compiler optimization to catch more bugs

FromGeert Uytterhoeven <geert+renesas@glider.be>
Date2016-03-25 13:40 +0100
Subject[PATCH 1/2] tools/gpio: Enable compiler optimization to catch more bugs
Message-ID<rgzbZ-1Ed-25@gated-at.bofh.it>
In reply to#1364653
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 tools/gpio/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/gpio/Makefile b/tools/gpio/Makefile
index 4d198d5c42032661..c155d6bc47a7580c 100644
--- a/tools/gpio/Makefile
+++ b/tools/gpio/Makefile
@@ -1,5 +1,5 @@
 CC = $(CROSS_COMPILE)gcc
-CFLAGS += -Wall -g -D_GNU_SOURCE
+CFLAGS += -O2 -Wall -g -D_GNU_SOURCE
 
 all: lsgpio
 
-- 
1.9.1

[toc] | [prev] | [next] | [standalone]


#1368126 — Re: [PATCH 1/2] tools/gpio: Enable compiler optimization to catch more bugs

FromLinus Walleij <linus.walleij@linaro.org>
Date2016-03-31 12:00 +0200
SubjectRe: [PATCH 1/2] tools/gpio: Enable compiler optimization to catch more bugs
Message-ID<riHyq-32C-15@gated-at.bofh.it>
In reply to#1364655
On Fri, Mar 25, 2016 at 1:36 PM, Geert Uytterhoeven
<geert+renesas@glider.be> wrote:

> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

OK patch applied.

Yours,
Linus Walleij

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web