]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: convert sysfs sprintf/snprintf family to sysfs_emit
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Wed, 15 Jun 2022 12:15:03 +0000 (21:15 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 17 Jun 2022 08:43:20 +0000 (10:43 +0200)
commiteb49d9dfc30bb8e915820f459e80fe81241db123
treeda901c042ee8f8ee37339e035224c2af747f3eff
parent1a58bdf587443f382532682b102837e482ade1fa
firewire: convert sysfs sprintf/snprintf family to sysfs_emit

Fix the following coccicheck warning:

./drivers/firewire/core-device.c:375:8-16: WARNING: use scnprintf or
sprintf.

Reported-by: Abaci Robot<abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20220615121505.61412-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
drivers/firewire/core-device.c