[PATCH v2 0/6] Stop calling devm_request_irq() with invalid IRQs in the I2C bus drivers

Sergey Shtylyov s.shtylyov at omprussia.ru
Sat Apr 10 21:57:56 BST 2021


On 4/10/21 11:11 PM, Sergey Shtylyov wrote:

> Here are 6 patches against the 'master' branch of Martin Petersen's 'scsi.git' repo.

   Oops, left that line unfinished. Wolfram's 'linux.git' repo, of course... :-)

> The affected drivers call platform_get_irq() but largely ignore its result -- they
> blithely pass the negative error codes to devm_request_irq() which expects *unsinged*
> IRQ #s. Stop doing that by checking what exactly platform_get_irq() returns.

[...]

MNR, Sergey



More information about the linux-arm-kernel mailing list