Hello community, here is the log from the commit of package itrace checked in at Tue Oct 16 18:02:45 CEST 2007. -------- --- arch/ppc/itrace/itrace.changes 2007-10-15 11:00:37.000000000 +0200 +++ /mounts/work_src_done/STABLE/itrace/itrace.changes 2007-10-16 14:29:38.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Oct 16 14:28:59 CEST 2007 - olh@suse.de + +- fix compile error, unregister_chrdev has no return value + +------------------------------------------------------------------- New: ---- itrace.unregister_chrdev-return.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ itrace.spec ++++++ --- /var/tmp/diff_new_pack.k20264/_old 2007-10-16 18:01:48.000000000 +0200 +++ /var/tmp/diff_new_pack.k20264/_new 2007-10-16 18:01:48.000000000 +0200 @@ -12,7 +12,7 @@ Name: itrace Version: 0.9 -Release: 104 +Release: 105 %if 0%{?suse_version} > 1020 BuildRequires: binutils-devel %endif @@ -37,6 +37,7 @@ Patch12: itrace.find_type_devices.patch Patch13: itrace.threads-h.patch Patch14: itrace.power6.patch +Patch15: itrace.unregister_chrdev-return.patch ExclusiveArch: ppc ppc64 Requires: itrace-kmp-ppc64 %suse_kernel_module_package kdump um xen xenpae default smp debug bigsmp iseries64 @@ -100,6 +101,7 @@ %patch12 -p1 %patch13 -p1 %patch14 -p1 +%patch15 -p1 %build autoreconf -i --force @@ -149,6 +151,8 @@ %{_prefix}/include/* %{_mandir}/*/* %changelog +* Tue Oct 16 2007 - olh@suse.de +- fix compile error, unregister_chrdev has no return value * Mon Oct 15 2007 - olh@suse.de - add power6 support (333483, fate 302745) * Sun Aug 05 2007 - olh@suse.de ++++++ itrace.unregister_chrdev-return.patch ++++++ --- src/driver/pi_init.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/src/driver/pi_init.c +++ b/src/driver/pi_init.c @@ -468,9 +468,8 @@ void pi_cleanup_module(void) #if !defined(HAVE_COMPAT_IOCTL) && defined(CONFIG_64BIT) rc = unregister_32_bit_ioctls(); #endif - /* Unregister the driver */ - rc |= unregister_chrdev(pitrace_major, "pitrace"); - printk("PITrace module removed. Return code = %d\n", rc); + unregister_chrdev(pitrace_major, "pitrace"); + printk("PITrace module removed.\n"); /* Delay to ensure that other processors have finished their work */ for (i = 0; i < 100; i++) udelay(1000); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org