[PATCH 0/3] pinctrl: Avoid hardcoded string offsets and buffer lengths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	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@xxxxxxxxxxxxxx

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



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux