Re: [PATCH v2] usb: dwc3: host: remove dead code in dwc3_host_get_irq()

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


On 2023/3/23 23:40, Greg Kroah-Hartman wrote:
On Thu, Mar 23, 2023 at 05:53:10PM +0800, Mingxuan Xiang wrote:
platform_get_irq() no longer returns 0, so there is no
need to check whether the return value is 0.
How did you find this issue?

How was it tested?

Hi Greg,

We found this issue by Smatch. Our team is trying fix some true bugs found by Smatch, with the help of Dan.

Since this is a dead code removal, we only do compilation testing.


greg k-h

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux