]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] PS3: Fix bug where the major version part is not compared
authorMasakazu Mokuno <mokuno@sm.sony.co.jp>
Wed, 29 Aug 2007 11:30:25 +0000 (20:30 +0900)
committerPaul Mackerras <paulus@samba.org>
Thu, 30 Aug 2007 10:49:41 +0000 (20:49 +1000)
commitc0328cbfd431c316b1872a96d5cf9cb809d5185d
tree0c46f32f4c4ad7c1446215dfb8e6eee5a2e46039
parent8f901354132861e8863d7c51f00b2824699d58ba
[POWERPC] PS3: Fix bug where the major version part is not compared

Fix the bug that the major version part of the firmware version number
is ignored in the comparison done by ps3_compare_firmware_version
because the difference of two 64-bit quantities is returned as an int.

Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp>
Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/ps3/setup.c