mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 14:51:00 +07:00
drivers/pcmcia: omap1: Fix error in automated timer conversion
One part of automated timer conversion tools did not take into account void * variables when searching out prior direct timer callback usage, which resulted in an attempt to dereference the timer field without a proper type. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
991f8f1c6e
commit
e9c16affe0
@ -102,7 +102,9 @@ static void omap_cf_timer(struct timer_list *t)
|
||||
*/
|
||||
static irqreturn_t omap_cf_irq(int irq, void *_cf)
|
||||
{
|
||||
omap_cf_timer(&_cf->timer);
|
||||
struct omap_cf_socket *cf = (struct omap_cf_socket *)_cf;
|
||||
|
||||
omap_cf_timer(&cf->timer);
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user