aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2019-10-25 11:14:48 +0200
committerJarkko Sakkinen <[email protected]>2019-11-12 21:45:37 +0200
commit9c8c5742b6af76a3fd93b4e56d1d981173cf9016 (patch)
tree5f6ca3279cbeacafbe801206c59cfe6d9dbcd691 /lib/test_overflow.c
parent3ef193822b25e9ee629974f66dc1ff65167f770c (diff)
tpm: Switch to platform_get_irq_optional()
platform_get_irq() calls dev_err() on an error. As the IRQ usage in the tpm_tis driver is optional, this is undesirable. Specifically this leads to this new false-positive error being logged: [ 5.135413] tpm_tis MSFT0101:00: IRQ index 0 not found This commit switches to platform_get_irq_optional(), which does not log an error, fixing this. Fixes: 7723f4c5ecdb ("driver core: platform: Add an error message to platform_get_irq*()" Cc: <[email protected]> # 5.4.x Signed-off-by: Hans de Goede <[email protected]> Reviewed-by: Jerry Snitselaar <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions