From 7d971cce17863daf11a2e4695f181a85ee9b407f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ondrej=20=C4=8Cerman?= Date: Fri, 24 Jan 2020 20:11:27 +0100 Subject: [PATCH] FIX case fall through --- zenpower.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zenpower.c b/zenpower.c index dc2c8b8..471714c 100644 --- a/zenpower.c +++ b/zenpower.c @@ -228,8 +228,8 @@ static int zenpower_read(struct device *dev, enum hwmon_sensor_types type, case hwmon_in: if (channel == 0) return -EOPNOTSUPP; - channel -= 1; // hwmon_in have different indexing, - __attribute__ ((fallthrough)); // see note at zenpower_info + channel -= 1; // hwmon_in have different indexing, see note at zenpower_info + // fall through // Power / Current case hwmon_curr: case hwmon_power: