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)
commitc7ae46efdcf42317e3e57d0f14e844c551691ab9
treedff25b0c6fe9967a88a93462ec58708b2016c933
parentd5ba6188dfbf6bb68354bec86e483623f1f6dae2
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