Thread (5 messages) 5 messages, 4 authors, 2022-02-04

Re: [PATCH] libata: make ata_host_suspend() *void*

From: Uwe Kleine-König <hidden>
Date: 2022-02-03 06:51:18
Also in: linux-ide

On Wed, Feb 02, 2022 at 11:58:21PM +0300, Sergey Shtylyov wrote:
ata_host_suspend() always returns 0, so the result checks in many drivers
look pointless.  Let's make this function return *void* instead of *int*.

Found by Linux Verification Center (linuxtesting.org) with the SVACE static
analysis tool.

Signed-off-by: Sergey Shtylyov <redacted>
Acked-by: Uwe Kleine-König <redacted>

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help