From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgw2.sony.co.jp (MGW2.Sony.CO.JP [137.153.0.14]) by ozlabs.org (Postfix) with ESMTP id DF8B2DDF8E for ; Tue, 28 Aug 2007 22:32:56 +1000 (EST) Date: Tue, 28 Aug 2007 21:32:29 +0900 From: Masakazu Mokuno To: paulus@samba.org Subject: [PATCH] PS3: fix the bug the major version part is not compared Message-Id: <20070828211415.C2B5.MOKUNO@sm.sony.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Cc: Geert Uytterhoeven , linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Fix the bug that the major version part of the firmware is not compared. Signed-off-by: Masakazu Mokuno CC: Geoff Levand --- arch/powerpc/platforms/ps3/setup.c | 2 +- include/asm-powerpc/ps3.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/arch/powerpc/platforms/ps3/setup.c +++ b/arch/powerpc/platforms/ps3/setup.c @@ -54,7 +54,7 @@ void ps3_get_firmware_version(union ps3_ } EXPORT_SYMBOL_GPL(ps3_get_firmware_version); -int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev) +s64 ps3_compare_firmware_version(u16 major, u16 minor, u16 rev) { union ps3_firmware_version x; --- a/include/asm-powerpc/ps3.h +++ b/include/asm-powerpc/ps3.h @@ -36,7 +36,7 @@ union ps3_firmware_version { }; void ps3_get_firmware_version(union ps3_firmware_version *v); -int ps3_compare_firmware_version(u16 major, u16 minor, u16 rev); +s64 ps3_compare_firmware_version(u16 major, u16 minor, u16 rev); /* 'Other OS' area */ -- Masakazu MOKUNO