[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180725.163420.281790440711337721.davem@davemloft.net>
Date: Wed, 25 Jul 2018 16:34:20 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jianbol@...lanox.com
Cc: netdev@...r.kernel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
jiri@...nulli.us
Subject: Re: [PATCH net-next] net/sched: cls_flower: Use correct inline
function for assignment of vlan tpid
From: Jianbo Liu <jianbol@...lanox.com>
Date: Wed, 25 Jul 2018 02:31:25 +0000
> This fixes the following sparse warning:
>
> net/sched/cls_flower.c:1356:36: warning: incorrect type in argument 3 (different base types)
> net/sched/cls_flower.c:1356:36: expected unsigned short [unsigned] [usertype] value
> net/sched/cls_flower.c:1356:36: got restricted __be16 [usertype] vlan_tpid
>
> Signed-off-by: Jianbo Liu <jianbol@...lanox.com>
> Reported-by: Or Gerlitz <ogerlitz@...lanox.com>
> Reviewed-by: Or Gerlitz <ogerlitz@...lanox.com>
Applied, thank you.
Powered by blists - more mailing lists