Re: [PATCH] packet: Don't check frames_per_block against negative values

2015-11-17 Thread David Miller
From: Tobias Klauser Date: Tue, 17 Nov 2015 10:38:36 +0100 > rb->frames_per_block is an unsigned int, thus can never be negative. > > Also fix spacing in the calculation of frames_per_block. > > Signed-off-by: Tobias Klauser Applied. -- To unsubscribe from this list: send the line "unsubscrib

[PATCH] packet: Don't check frames_per_block against negative values

2015-11-17 Thread Tobias Klauser
rb->frames_per_block is an unsigned int, thus can never be negative. Also fix spacing in the calculation of frames_per_block. Signed-off-by: Tobias Klauser --- net/packet/af_packet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/packet/af_packet.c b/net/packet/af_p