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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9076faa9af99e6eb69fb8939b97ab701d14b3145;p=mv-sheeva.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 8bee56250a9..e8ad648de3d 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,