]> git.baikalelectronics.ru Git - uboot.git/commit
net: dsa: Use true instead of 1 in the set_promisc() call
authorBin Meng <bmeng.cn@gmail.com>
Mon, 1 Nov 2021 06:15:10 +0000 (14:15 +0800)
committerRamon Fried <rfried.dev@gmail.com>
Tue, 23 Nov 2021 07:57:56 +0000 (09:57 +0200)
commit01c55588bfde71cac74fabc5564779791a3ddc71
treedff25b0c6fe9967a88a93462ec58708b2016c933
parent656da1c3c59dac263e81f5ec9a22651d4dc8c870
net: dsa: Use true instead of 1 in the set_promisc() call

set_promisc() call accepts the parameter of a bool type. Make it
clear by using true instead of 1.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
net/dsa-uclass.c