Commit 3752445d authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva
Browse files

hwmon: (corsair-cpro) Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of letting the code fall
through to the next case.

Link: https://github.com/KSPP/linux/issues/115


Acked-by: default avatarGuenter Roeck <linux@roeck-us.net>
Marius Zachmann <mail@mariuszachmann.de>
Signed-off-by: default avatarGustavo A. R. Silva <gustavoars@kernel.org>
parent 5ef73b6e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -310,6 +310,7 @@ static int ccp_write(struct device *dev, enum hwmon_sensor_types type,
		default:
			break;
		}
		break;
	default:
		break;
	}