Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98e4321b authored by David S. Miller's avatar David S. Miller
Browse files

genetlink: Make family a signed integer.



The idr_alloc(), idr_remove(), et al. routines all expect IDs to be
signed integers.  Therefore make the genl_family member 'id' signed
too.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b5718b5a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ struct genl_info;
 * @n_ops: number of operations supported by this family
 */
struct genl_family {
	unsigned int		id;		/* private */
	int			id;		/* private */
	unsigned int		hdrsize;
	char			name[GENL_NAMSIZ];
	unsigned int		version;