From: Jonathan Cameron Date: Fri, 12 Aug 2011 15:55:36 +0000 (+0100) Subject: staging:iio: in case of buggy drivers avoid using undefined mask. X-Git-Tag: MMI-PSA29.97-13-9~18234^2^2~864^2~251 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9076faa9af99e6eb69fb8939b97ab701d14b3145;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging:iio: in case of buggy drivers avoid using undefined mask. Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/iio/industrialio-core.c b/drivers/staging/iio/industrialio-core.c index 8bee56250a96..e8ad648de3da 100644 --- a/drivers/staging/iio/industrialio-core.c +++ b/drivers/staging/iio/industrialio-core.c @@ -958,6 +958,7 @@ static int iio_device_add_event_sysfs(struct iio_dev *dev_info, break; default: printk(KERN_INFO "currently unhandled type of event\n"); + continue; } ret = __iio_add_chan_devattr(postfix, NULL,