From 5f114ebcee681b011e8b5bcd2b24169b85286050 Mon Sep 17 00:00:00 2001 From: Lee Jones Date: Mon, 18 Aug 2014 16:11:27 +0100 Subject: [PATCH] mfd: sm501: Avoid implicit sign extension Suspicious implicit sign extension where 'reg' (unsigned char) is promoted in reg << clksrc to int, then sign-extended to unsigned long. If reg << clksrc is greater than 0x7FFFFFFF, the upper bits of the result will all be 1. Signed-off-by: Lee Jones --- Reading git-format-patch failed