[PATCH drivers/iio 0/3] convert sysfs sprintf/snprintf/scnprintf to sysfs_emit

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

 



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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux