Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6efc6b8a authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Greg Kroah-Hartman
Browse files

staging: lustre: lprocfs: mark expected switch fall-throughs



In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Addresses-Coverity-ID: 1271166
Addresses-Coverity-ID: 1271167
Addresses-Coverity-ID: 1271168
Addresses-Coverity-ID: 1271169
Signed-off-by: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Reviewed-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 207f6b61
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1507,12 +1507,16 @@ int lprocfs_write_frac_u64_helper(const char __user *buffer,
		switch (tolower(*end)) {
		case 'p':
			units <<= 10;
			/* fall through */
		case 't':
			units <<= 10;
			/* fall through */
		case 'g':
			units <<= 10;
			/* fall through */
		case 'm':
			units <<= 10;
			/* fall through */
		case 'k':
			units <<= 10;
		}