]> git.baikalelectronics.ru Git - kernel.git/commit
mei: use sysfs_emit() in tx_queue_limit_show sysfs
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 8 Feb 2021 15:06:49 +0000 (17:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Feb 2021 08:30:28 +0000 (09:30 +0100)
commite0f3269c6519d426e84ec42bc7a9af3cad7589d6
treea4b311296cd7bb0d861a24144237eb09c443213c
parentb569e7e1612f7b7bbba958e46d0ae1ecc5fd2095
mei: use sysfs_emit() in tx_queue_limit_show sysfs

Using of snprintf is discouraged in sysfs use the new sysfs_emit() API.

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