[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200806223621.GM1665100@dtor-ws>
Date: Thu, 6 Aug 2020 15:36:21 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Colin King <colin.king@...onical.com>
Cc: Tai-hwa Liang <avatar@...telic.com>, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] input: sentelic: fix error return when fsp_reg_write
fails
On Wed, Jun 03, 2020 at 03:12:18PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> Currently when the call to fsp_reg_write fails -EIO is not being returned
> because the count is being returned instead of the return value in retval.
> Fix this by returning the value in retval instead of count.
>
> Addresses-Coverity: ("Unused value")
> Fixes: fc69f4a6af49 ("Input: add new driver for Sentelic Finger Sensing Pad")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied, thank you.
--
Dmitry
Powered by blists - more mailing lists