[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMzoambRTmpCmM0upiM5PMZtEioSMpw3QB4k--OCvHKmhCnw7w@mail.gmail.com>
Date: Mon, 16 May 2016 19:40:43 +0100
From: David Binderman <linuxdev.baldrick@...il.com>
To: davem@...emloft.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, dcb314@...mail.com
Subject: linux-4.6/net/kcm/kcmsock.c:1508: bad if test ?
Hello there,
linux-4.6/net/kcm/kcmsock.c:1508]: (style) Checking if unsigned
variable 'copied' is less than zero.
Source code is
if (copied < 0) {
but
size_t copied;
Suggest code rework.
Regards
David Binderman
Powered by blists - more mailing lists