Re: [PATCH] PCI: dw-rockchip: Remove redundant dev_err()

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

 



> There is no need to call the dev_err() function directly to print a
> custom message when handling an error from platform_get_irq_byname()
> function as it is going to display an appropriate error message in case

           call?


> of a failure.


Were any static source code analysis tools involved in the detection
of the presented change possibility?


By the way:
Such a patch can be generated also by the means of the semantic patch
language (Coccinelle software) for example.

Regards,
Markus




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux