Skip to content
Commit 43052741 authored by Roman Mashak's avatar Roman Mashak Committed by David S. Miller
Browse files

net sched actions: avoid bitwise operation on signed value in pedit



Since char can be unsigned or signed, and bitwise operators may have
implementation-dependent results when performed on signed operands,
declare 'u8 *' operand instead.

Suggested-by: default avatarDavide Caratti <dcaratti@redhat.com>
Signed-off-by: default avatarRoman Mashak <mrv@mojatatu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 95b0d2dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment