Hello community, here is the log from the commit of package librtas for openSUSE:Factory checked in at 2014-09-10 17:02:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/librtas (Old) and /work/SRC/openSUSE:Factory/.librtas.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "librtas" Changes: -------- --- /work/SRC/openSUSE:Factory/librtas/librtas.changes 2014-07-11 06:45:46.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.librtas.new/librtas.changes 2014-09-10 17:02:43.000000000 +0200 @@ -1,0 +2,12 @@ +Fri Sep 5 09:50:17 UTC 2014 - jengelh@inai.de + +- RPM group classification; add project web locations + +------------------------------------------------------------------- +Fri Sep 5 09:08:06 UTC 2014 - jloeser@suse.com + +- version update to 1.3.12 (BNC#894854) + - get_sensor, set_sensor: Handle big endian data in little endian + - fix for sc_platform_dump endian handling + +------------------------------------------------------------------- Old: ---- librtas-1.3.11.tar.gz New: ---- librtas-1.3.12.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ librtas.spec ++++++ --- /var/tmp/diff_new_pack.WTo7RG/_old 2014-09-10 17:02:45.000000000 +0200 +++ /var/tmp/diff_new_pack.WTo7RG/_new 2014-09-10 17:02:45.000000000 +0200 @@ -17,19 +17,21 @@ Name: librtas -BuildRequires: doxygen -Version: 1.3.11 +Version: 1.3.12 Release: 0 -BuildRequires: fdupes Summary: Libraries to provide access to RTAS calls and RTAS events License: CPL-1.0 -Group: System/Libraries -BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: ppc ppc64 ppc64le +Group: Development/Libraries/C and C++ Url: http://librtas.ozlabs.org/ + +#Git-Clone: git://git.code.sf.net/p/librtas/code Source0: http://sourceforge.net/projects/librtas/files/librtas-%{version}.tar.gz Source1: baselibs.conf Patch: librtas-failedmagic.patch +BuildRequires: doxygen +BuildRequires: fdupes +BuildRoot: %{_tmppath}/%{name}-%{version}-build +ExclusiveArch: ppc ppc64 ppc64le %description The librtas shared library provides userspace with an interface through ++++++ librtas-1.3.11.tar.gz -> librtas-1.3.12.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librtas-1.3.11/Changelog new/librtas-1.3.12/Changelog --- old/librtas-1.3.11/Changelog 2014-06-25 21:37:10.000000000 +0200 +++ new/librtas-1.3.12/Changelog 2014-08-13 20:22:51.000000000 +0200 @@ -1,3 +1,31 @@ +Changelog for librtas-1.3.12 +======================================= +commit 1f045d8df135cfdc232a49f0992ab60913c0b043 +Author: Anshuman Khandual <khandual@linux.vnet.ibm.com> +Date: Wed Aug 13 13:04:29 2014 -0500 + + get_sensor, set_sensor: Handle big endian data in little endian + + This patch handles big endian location code length data in little endian + platform. This enables the tools to work on little endian platform after + having passed big endian buffer data. + + Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com> + Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> + +commit 18f353d3477fb137e9773bcda0c1f60fb071d5b7 +Author: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> +Date: Wed Aug 13 13:02:17 2014 -0500 + + librtas: fix for sc_platform_dump endian handling + + Some mistakes were made in adding little endian support for the + sc_platform_dump function. As the values being handled are 64-bit integers, + it makes much more sense to use the 64-bit byteswap function. The + endianness of seq_next also needs to be handled. + + Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> + Changelog for librtas-1.3.11 ======================================= commit 129fdb4875c8c679418b70c55df9b8b7fe8d6180 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librtas-1.3.11/librtas.spec.in new/librtas-1.3.12/librtas.spec.in --- old/librtas-1.3.11/librtas.spec.in 2014-06-25 21:37:10.000000000 +0200 +++ new/librtas-1.3.12/librtas.spec.in 2014-08-13 20:22:51.000000000 +0200 @@ -1,5 +1,5 @@ %define name librtas -%define version 1.3.11 +%define version 1.3.12 %define release 1 Summary: Libraries to provide access to RTAS calls and RTAS events. Name: %{name} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librtas-1.3.11/librtas_src/syscall_calls.c new/librtas-1.3.12/librtas_src/syscall_calls.c --- old/librtas-1.3.11/librtas_src/syscall_calls.c 2014-06-25 21:37:10.000000000 +0200 +++ new/librtas-1.3.12/librtas_src/syscall_calls.c 2014-08-13 20:22:51.000000000 +0200 @@ -568,7 +568,7 @@ int status; int rc; - size = *(uint32_t *)loc_code + sizeof(uint32_t); + size = be32toh(*(uint32_t *)loc_code) + sizeof(uint32_t); rc = sc_get_rmo_buffer(size, &locbuf, &loc_pa); if (rc) @@ -965,12 +965,9 @@ if (kernbuf) (void)sc_free_rmo_buffer(kernbuf, kernbuf_pa, length); - next_hi = be32toh(next_hi); - next_lo = be32toh(next_lo); - bytes_hi = be32toh(bytes_hi); - bytes_lo = be32toh(bytes_lo); - - *bytes_ret = BITS64(be32toh(bytes_hi), be32toh(bytes_lo)); + *bytes_ret = BITS64(bytes_hi, bytes_lo); + *seq_next = be64toh(*seq_next); + *bytes_ret = be64toh(*bytes_ret); dbg1("(0x%llx, 0x%llx, %p, %d, %p, %p) = %d, 0x%llx, 0x%llx\n", dump_tag, sequence, buffer, length, seq_next, bytes_ret, @@ -1074,7 +1071,7 @@ int status; int rc; - size = *(uint32_t *)loc_code + sizeof(uint32_t); + size = be32toh(*(uint32_t *)loc_code) + sizeof(uint32_t); rc = sc_get_rmo_buffer(size, &locbuf, &loc_pa); if (rc) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org