Re: [PATCH 2/2] net: nixge: Address compiler warnings about signedness

2018-05-07 Thread David Miller
From: Moritz Fischer Date: Fri, 4 May 2018 10:18:34 -0700 > Fixes the following warnings: > warning: pointer targets in passing argument 1 of > ‘is_valid_ether_addr’ differ in signedness [-Wpointer-sign] > if (mac_addr && is_valid_ether_addr(mac_addr)) { >

[PATCH 2/2] net: nixge: Address compiler warnings about signedness

2018-05-04 Thread Moritz Fischer
Fixes the following warnings: warning: pointer targets in passing argument 1 of ‘is_valid_ether_addr’ differ in signedness [-Wpointer-sign] if (mac_addr && is_valid_ether_addr(mac_addr)) { ^~~~ expected ‘const u8 * {aka const unsigned char *}’ but argumen