Powered by Linux
Re: [PATCH v2] direct_return_instead_of_goto: don't warn about other forms of printks — Semantic Matching Tool

Re: [PATCH v2] direct_return_instead_of_goto: don't warn about other forms of printks

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

 



On Sun, Feb 12, 2023 at 08:57:26AM -0800, Harshit Mogalapalli wrote:
> Also tracking these type of goto labels are uninteresting for the check.
> fail:
>     ata_dev_err(dev, "failed to set xfermode (err_mask=0x%x)\n", err_mask);
>     return -EIO;
> 
> Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@xxxxxxxxxx>
> ---
> v1->v2: Use strstr() instead to strcmp as suggested by Christophe which is
> 	a better way to check for a match.

Applied.  Thanks!

regards,
dan carpenter




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux