]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dmapool: use sysfs_emit() instead of scnprintf()
authorTony Battersby <tonyb@cybernetics.com>
Thu, 26 Jan 2023 21:51:16 +0000 (13:51 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 10 Feb 2023 23:36:04 +0000 (15:36 -0800)
commitbf08221bdd13ca8b88512ab422e01107e8c6d3a9
tree12c2bbe2ffcecf0e80f60d729ecc5aefcd12262d
parent58f923f407b2860ae5efb61ab45542adadeae7cb
dmapool: use sysfs_emit() instead of scnprintf()

Use sysfs_emit instead of scnprintf, snprintf or sprintf.

Link: https://lkml.kernel.org/r/20230126215125.4069751-4-kbusch@meta.com
Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/dmapool.c