lkml.org 
[lkml]   [2023]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net v1 1/1] ethtool: fix clearing of WoL flags
On Thu, Oct 19, 2023 at 12:50:48PM +0200, Michal Kubecek wrote:
[...]
> @@ -490,6 +509,8 @@ ethnl_update_bitset32_verbose(u32 *bitmap, unsigned int nbits,
> *mod = true;
> }
> }
> + if (saved_bitmap)
> + *mod = ethnl_bitmap32_cmp(saved_bitmap, bitmap, nbits);
>
> ret = 0;
> out:

Oops, this should be

*mod = !ethnl_bitmap32_equal(saved_bitmap, bitmap, nbits);

Michal
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2023-10-19 12:55    [W:0.076 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site