]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
blk-integrity: use sysfs_emit
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 2 Oct 2024 14:01:20 +0000 (11:01 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:11:33 +0000 (15:11 +0200)
commit71246997b749eebb074ee5b0c456d0e916410fcd
treeac777d9aa4bf5a2a720db9a239d8b22dfe1da178
parentef05572da0c0eb89614ed01cc17d3c882bdbd1ff
blk-integrity: use sysfs_emit

Upstream commit 3315e169b446249c1b61ff988d157238f4b2c5a0.

The correct way to emit data into sysfs is via sysfs_emit(), use it.

Also perform some trivial syntactic cleanups.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20230309-kobj_release-gendisk_integrity-v3-1-ceccb4493c46@weissschuh.net
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@igalia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
block/blk-integrity.c