Message ID | 423af7ee-401a-5e6a-b7f1-fb9b223a2b75@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/input/joystick/gamecon.c b/drivers/input/joystick/gamecon.c index f6006383d30d..0e3d47ab9ab9 100644 --- a/drivers/input/joystick/gamecon.c +++ b/drivers/input/joystick/gamecon.c @@ -965,7 +965,7 @@ static void gc_attach(struct parport *pp) return; } - gc = kzalloc(sizeof(struct gc), GFP_KERNEL); + gc = kzalloc(sizeof(*gc), GFP_KERNEL); if (!gc) goto err_unreg_pardev;