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)
commit49ef431defcc03be0d9bf80e1b3945a1c914868c
treed47990161768bbcfab2f78b097cc0bdfae666b9e
parentc79f46a282390e0f5b306007bf7b11a46d529538
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