Re: [PATCH] Staging: gdm72xx: Fix sparse warning

2015-11-06 Thread Dan Carpenter
This breaks userspace. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] Staging: gdm72xx: Fix sparse warning

2015-11-06 Thread Dan Carpenter
This breaks userspace. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] Staging: gdm72xx: Fix sparse warning

2015-11-05 Thread Ksenija Stanojevic
Fix following sparse warnings by adding new structure for user-space data (struct data_us) in wm_ioctl.h: drivers/staging/gdm72xx/gdm_wimax.c:381:37: warning: incorrect type in argument 1 (different address spaces) drivers/staging/gdm72xx/gdm_wimax.c:381:37:expected void [noderef] *to

[PATCH] Staging: gdm72xx: Fix sparse warning

2015-11-05 Thread Ksenija Stanojevic
Fix following sparse warnings by adding new structure for user-space data (struct data_us) in wm_ioctl.h: drivers/staging/gdm72xx/gdm_wimax.c:381:37: warning: incorrect type in argument 1 (different address spaces) drivers/staging/gdm72xx/gdm_wimax.c:381:37:expected void [noderef] *to