]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: hns3: change the function return type from int to bool
authorJijie Shao <shaojijie@huawei.com>
Fri, 15 Aug 2025 10:04:14 +0000 (18:04 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 20 Aug 2025 01:11:15 +0000 (18:11 -0700)
commit021f989c863b40613d1a7595e6f88524fd5a531a
treef4947592f0660e4e852585431ac175db9342e11b
parente16e973c576f89be26837778a5566ab9c4231852
net: hns3: change the function return type from int to bool

hclge_only_alloc_priv_buff() only return true or false,
So, change the function return type from integer to boolean.

Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Link: https://patch.msgid.link/20250815100414.949752-3-shaojijie@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c