Hi, > > > net/netlink/genetlink.c: In function `genl_register_mc_group': > > > net/netlink/genetlink.c:139: warning: 'err' might be used uninitialized in this function > > > > Well, only if there's no netns which can't happen. > So how to silence that warning? Well, I suppose your patch is the best way anyhow, using uninitialized_var() would seem somewhat dangerous for future modifications of the function. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part