Skip to contentSkip to conversation

gpio/davinci: Fix race in installing chained irq handler

tip:irq/urgent Linus Walleij 1 participant 1 message Jul 16, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Linus Walleij

author Acked-by
#1 lore raw
Quoted 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 +0200

gpio/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.

Cc Julia Lawall <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Alexandre Courbot <[email protected]>

Yours,
Linus Walleij