Hello community, here is the log from the commit of package mdadm checked in at Mon Oct 6 17:46:23 CEST 2008. -------- --- mdadm/mdadm.changes 2008-09-24 18:24:39.000000000 +0200 +++ /mounts/work_src_done/STABLE/mdadm/mdadm.changes 2008-10-03 15:29:00.000000000 +0200 @@ -1,0 +2,10 @@ +Fri Oct 3 15:28:49 CEST 2008 - mmarek@suse.cz + +- fixed mdmon's clone_monitor on ia64 + +------------------------------------------------------------------- +Fri Oct 3 14:28:55 CEST 2008 - mmarek@suse.cz + +- fixed byte swapping in super-intel.c on big endian. + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- mdmon-ia64-clone.patch super-intel-undefined-operation.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mdadm.spec ++++++ --- /var/tmp/diff_new_pack.JL6972/_old 2008-10-06 17:46:06.000000000 +0200 +++ /var/tmp/diff_new_pack.JL6972/_new 2008-10-06 17:46:06.000000000 +0200 @@ -20,7 +20,7 @@ Name: mdadm Version: 3.0 -Release: 2 +Release: 3 %define ver 3.0-devel1 BuildRequires: sgmltool PreReq: %fillup_prereq %insserv_prereq @@ -28,10 +28,12 @@ AutoReqProv: on Group: System/Base License: GPL v2 or later -Url: http://www.kernel.org/pub/linux/utils/mdadm/ +Url: http://www.kernel.org/pub/linux/utils/raid/mdadm/ Summary: Utility for Configuring MD Setup BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: %{name}-%{ver}.tar.bz2 +Patch1: super-intel-undefined-operation.patch +Patch2: mdmon-ia64-clone.patch Source1: Software-RAID.HOWTO.tar.bz2 Source2: sysconfig.mdadm Source3: mdadmd @@ -52,6 +54,8 @@ %prep %setup -q -a1 -n %{name}-%{ver} +%patch1 +%patch2 %build %{suse_update_config -f} @@ -137,6 +141,10 @@ /lib/mkinitrd/scripts/boot-md.sh %changelog +* Fri Oct 03 2008 mmarek@suse.cz +- fixed mdmon's clone_monitor on ia64 +* Fri Oct 03 2008 mmarek@suse.cz +- fixed byte swapping in super-intel.c on big endian. * Wed Sep 24 2008 ro@suse.de - change "udevsettle" to "udevadm settle" * Fri Sep 19 2008 mmarek@suse.cz ++++++ mdmon-ia64-clone.patch ++++++ ia64 has __clone2 instead of clone() --- mdmon.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) --- mdmon.c.orig +++ mdmon.c @@ -57,13 +57,25 @@ int run_child(void *v) return 0; } +#ifdef __ia64__ +int __clone2(int (*fn)(void *), + void *child_stack_base, size_t stack_size, + int flags, void *arg, ... + /* pid_t *pid, struct user_desc *tls, pid_t *ctid */ ); +#endif int clone_monitor(struct supertype *container) { static char stack[4096]; +#ifdef __ia64__ + mon_tid = __clone2(run_child, stack, sizeof(stack), + CLONE_FS|CLONE_FILES|CLONE_VM|CLONE_SIGHAND|CLONE_THREAD, + container); +#else mon_tid = clone(run_child, stack+4096-64, CLONE_FS|CLONE_FILES|CLONE_VM|CLONE_SIGHAND|CLONE_THREAD, container); +#endif mgr_tid = syscall(SYS_gettid); ++++++ super-intel-undefined-operation.patch ++++++ super-intel.c:284: warning: operation on 'p' may be undefined super-intel.c:284: warning: operation on 'p' may be undefined super-intel.c:284: warning: operation on 'p' may be undefined The swap macros can evaluate their argument multiple times. --- super-intel.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- super-intel.c.orig +++ super-intel.c @@ -280,8 +280,10 @@ static __u32 __gen_imsm_checksum(struct __u32 *p = (__u32 *) mpb; __u32 sum = 0; - while (end--) - sum += __le32_to_cpu(*p++); + while (end--) { + sum += __le32_to_cpu(*p); + p++; + } return sum - __le32_to_cpu(mpb->check_sum); } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org