public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH drivers/iio 0/3] convert sysfs sprintf/snprintf/scnprintf to sysfs_emit
@ 2021-04-12  8:39 Tian Tao
  2021-04-12  8:39 ` [PATCH drivers/iio 1/3] iio:chemical:sps30: Convert sysfs sprintf/snprintf family " Tian Tao
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tian Tao @ 2021-04-12  8:39 UTC (permalink / raw)
  To: jic23, tduszyns, mcoquelin.stm32, alexandre.torgue; +Cc: linux-iio, Tian Tao

Use the generic sysfs_emit() function to take place of
sprintf/snprintf/scnprintf, to avoid buffer overrun.

Tian Tao (3):
  iio:chemical:sps30:  Convert sysfs sprintf/snprintf family to
    sysfs_emit
  iio: light: Convert sysfs sprintf/snprintf family to sysfs_emit
  iio: trigger: stm32-timer: Convert sysfs sprintf/snprintf family to
    sysfs_emit

 drivers/iio/chemical/sps30.c              | 6 +++---
 drivers/iio/light/veml6030.c              | 2 +-
 drivers/iio/trigger/stm32-timer-trigger.c | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2021-04-18 10:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-12  8:39 [PATCH drivers/iio 0/3] convert sysfs sprintf/snprintf/scnprintf to sysfs_emit Tian Tao
2021-04-12  8:39 ` [PATCH drivers/iio 1/3] iio:chemical:sps30: Convert sysfs sprintf/snprintf family " Tian Tao
2021-04-12  8:39 ` [PATCH drivers/iio 2/3] iio: light: " Tian Tao
2021-04-12  8:39 ` [PATCH drivers/iio 3/3] iio: trigger: stm32-timer: " Tian Tao
2021-04-18 10:06 ` [PATCH drivers/iio 0/3] convert sysfs sprintf/snprintf/scnprintf " Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox