Tag: 52fd8ca6ad4124c15952ded35cfcf6adbd7ae8d4

IB/ipath: Use unsigned long for irq flags

Author: Vegard Nossum <vegard.nossum@gmail.com> A few functions in the ipath driver incorrectly use unsigned int to hold irq flags for spin_lock_irqsave(). This patch was generated using the Coccinelle framework with the following semantic patch: The semantic patch I used was this: @@ expression lock; identifier flags; expression subclass; @@ – unsigned int flags; + unsigned …

Continue reading