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: firefly_0821_release~3680^2~4313^2^2~864^2~251 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9076faa9af99e6eb69fb8939b97ab701d14b3145;p=firefly-linux-kernel-4.4.55.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,