]> git.baikalelectronics.ru Git - kernel.git/commit
9p/fd: Use P9_HDRSZ for header size
authorGUO Zihua <guozihua@huawei.com>
Thu, 17 Nov 2022 09:11:59 +0000 (17:11 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Dec 2022 10:30:41 +0000 (11:30 +0100)
commit422438b4fd8beb386bf818a9d11644f44935d700
tree14b26045a92579f1843406ee6ffdcd0ed457ed86
parent9d572a24660fc491b49d6d55ca1d3465071908b5
9p/fd: Use P9_HDRSZ for header size

[ Upstream commit 6854fadbeee10891ed74246bdc05031906b6c8cf ]

Cleanup hardcoded header sizes to use P9_HDRSZ instead of '7'

Link: https://lkml.kernel.org/r/20221117091159.31533-4-guozihua@huawei.com
Signed-off-by: GUO Zihua <guozihua@huawei.com>
Reviewed-by: Christian Schoenebeck <linux_oss@crudebyte.com>
[Dominique: commit message adjusted to make sense after offset size
adjustment got removed]
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/9p/trans_fd.c