gpio/davinci: Fix race in installing chained irq handler
A message that is not in the archive (sent off-list or not yet received): [email protected]
Linus Walleij
Acked-byQuoted 13 lines · tip-bot for Thomas Gleixner
Commit-ID: 20483d04ae6f373858f3ca28cd7e26b66106d937 Gitweb: http://git.kernel.org/tip/20483d04ae6f373858f3ca28cd7e26b66106d937 Author: Thomas Gleixner <[email protected]> AuthorDate: Mon, 13 Jul 2015 23:22:44 +0200 Committer: Thomas Gleixner <[email protected]> CommitDate: Mon, 13 Jul 2015 23:24:48 +0200gpio/davinci: Fix race in installing chained irq handler
Fix a race where a pending interrupt could be received and the handler called before the handler's data has been setup, by converting to
irq_set_chained_handler_and_data().
Quoted 7 lines
Search and conversion was done with coccinelle.
Reported-by Russell King <[email protected]>Signed-off-by Thomas Gleixner <[email protected]>Cc Julia Lawall <[email protected]>Cc Linus Walleij <[email protected]>Cc Alexandre Courbot <[email protected]>
Acked-by Linus Walleij <[email protected]>
Yours,
Linus Walleij