Re: [PATCH] usb: cdns3: adjust the partial logic of cdnsp_pci_remove

From: Greg Kroah-Hartman
Date: Sun Oct 09 2022 - 02:52:31 EST


On Sun, Oct 09, 2022 at 01:32:45PM +0800, Dongliang Mu wrote:
> From: Dongliang Mu <mudongliangabcd@xxxxxxxxx>
>
> In cdnsp_pci_remove, if pci_is_enabled returns true, it will
> call cdns_remove; else it will call kfree. Then both control flow
> goes to pci_dev_put.
>
> Adjust this logic by modifying it to an if else.
>
> Signed-off-by: Dongliang Mu <mudongliangabcd@xxxxxxxxx>

Your email address does not match your From: address, and your From:
address is saying it is being spoofed and not correct :(

Please work with your school to fix your email system and do not use
gmail to hide it.

thanks,

greg k-h