[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131114.031057.1514427325797937478.davem@davemloft.net>
Date: Thu, 14 Nov 2013 03:10:57 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: oliver@...kum.org, linux-usb@...r.kernel.org,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] net: cdc_ncm: cleanup a type issue in cdc_ncm_setup()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Wed, 13 Nov 2013 10:42:34 +0300
> This is harmless but cdc_ncm_setup() returns negative error codes
> truncated to u8 values. There is only one caller and treats all
> non-zero returns as errors but doesn't store the the return code. So
> the code works correctly but it's messy and upsets the static checkers.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied, thanks Dan.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists