[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190731132917.17607-1-geert+renesas@glider.be>
Date: Wed, 31 Jul 2019 15:29:14 +0200
From: Geert Uytterhoeven <geert+renesas@...der.be>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert+renesas@...der.be>
Subject: [PATCH 0/3] pinctrl: Avoid hardcoded string offsets and buffer lengths
Hi Linus,
This patch series gets rid of hardcoded string offsets and buffer
lengths, in favor of using strlen() and (devm_)kasprintf().
Thanks!
Geert Uytterhoeven (3):
pinctrl: devicetree: Use strlen() instead of hardcoded number
pinctrl: lantiq: Use kasprintf() instead of fixed buffer formatting
pinctrl: xway: Use devm_kasprintf() instead of fixed buffer formatting
drivers/pinctrl/devicetree.c | 6 ++----
drivers/pinctrl/pinctrl-falcon.c | 6 +-----
drivers/pinctrl/pinctrl-xway.c | 4 +---
3 files changed, 4 insertions(+), 12 deletions(-)
--
2.17.1
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-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
Powered by blists - more mailing lists