Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/cell: cbe_thermal.c: Cleaning up a variable is of the wrong type

This variable is of the wrong type, everywhere it is used it
should be an unsigned int rather than a int.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by

Rickard Strandqvist and committed by
Benjamin Herrenschmidt
f5fc8229 2f0143c9

+1 -1
+1 -1
arch/powerpc/platforms/cell/cbe_thermal.c
··· 125 125 static ssize_t store_throttle(struct cbe_pmd_regs __iomem *pmd_regs, const char *buf, size_t size, int pos) 126 126 { 127 127 u64 reg_value; 128 - int temp; 128 + unsigned int temp; 129 129 u64 new_value; 130 130 int ret; 131 131