Re: [PATCH 6.5 134/739] spi: tegra114: Remove unnecessary NULL-pointer checks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 11, 2023 at 03:38:53PM +0200, Greg Kroah-Hartman wrote:
> 6.5-stable review patch.  If anyone has any objections, please let me know.
> 
> ------------------
> 
> From: Alexander Danilenko <al.b.danilenko@xxxxxxxxx>
> 
> [ Upstream commit 373c36bf7914e3198ac2654dede499f340c52950 ]
> 
> cs_setup, cs_hold and cs_inactive points to fields of spi_device struct,
> so there is no sense in checking them for NULL.
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.

This is a code cleanup, why is it a stable candidate?  It's not a
warning fix or anything.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux