Re: [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]

 



On Mon, 12 Apr 2021 16:39:08 +0800
Tian Tao <tiantao6@xxxxxxxxxxxxx> wrote:

> 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(-)

Series applied to the togreg branch of iio.git and pushed out as testing
to let the autobuilders see if they can find anything we missed.

This won't got upstream until after the merge window so plenty of time
for others to take a look if they want to.

Thanks,

Jonathan

> 




[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