]> git.baikalelectronics.ru Git - kernel.git/commit
mei: bus: use simple sprintf for sysfs
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 26 Nov 2019 12:30:02 +0000 (14:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jan 2020 12:20:49 +0000 (13:20 +0100)
commit88481450b1f7b5cd92a82f47b183d1416f1cc30f
treed47990161768bbcfab2f78b097cc0bdfae666b9e
parentcdc2320cbb59dea44aae73acf1819cf7501d06d3
mei: bus: use simple sprintf for sysfs

Replace scnprintf with simple sprintf for sysfs files.
it is implicitly known that the buffer is big enough
for the variables to fit in.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20191126123002.4835-1-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/bus.c