rpms/kernel/FC-4 linux-2.6.12-pwc-warning.patch, NONE, 1.1 kernel-2.6.spec, 1.1379, 1.1380

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Jun 24 00:03:08 UTC 2005


Author: davej

Update of /cvs/dist/rpms/kernel/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv27034

Modified Files:
	kernel-2.6.spec 
Added Files:
	linux-2.6.12-pwc-warning.patch 
Log Message:
pwc driver warning fix.


linux-2.6.12-pwc-warning.patch:
 pwc-uncompress.c |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

--- NEW FILE linux-2.6.12-pwc-warning.patch ---

The patch titled

     pwc-uncompress warning fix

has been added to the -mm tree.  Its filename is

     pwc-uncompress-warning-fix.patch

Patches currently in -mm which might be from akpm at osdl.org are

git-alsa-fix.patch
git-ia64-pre.patch
git-ia64-post.patch
bk-nfs.patch
git-scsi-misc-mptfusion-fix.patch
git-scsi-misc-qla-build-fix.patch
hub-use-kthread.patch
bk-watchdog.patch
is_multicast_ether_addr-hack.patch
wireless-device-attr-fixes.patch
wireless-device-attr-fixes-2.patch
ipw2100-old-gcc-fix.patch
add-x86-64-specific-support-for-sparsemem-tidy.patch
add-page_state-info-to-show_mem-warning-fixes.patch
vm-early-zone-reclaim-tidy.patch
hugepage-consolidation-ia64-fix.patch
node-local-per-cpu-pages-tidy.patch
node-local-per-cpu-pages-tidy-2.patch
node-local-per-cpu-pages-tidy-2-fix.patch
avoiding-mmap-fragmentation-tidy.patch
avoiding-mmap-fragmentation-revert-unneeded-64-bit-changes-vs-x86_64-task_size-fixes-for-compatibility-mode-processes.patch
mm-remove-pg_highmem-tidy.patch
cs89x0c-support-for-philips-pnx0105-network-adapter-tidy.patch
dmfe-warning-fix.patch
mips-add-vr41xx-gpio-support-fix.patch
x86-x86_64-pcibus_to_node-fix.patch
numa-aware-block-device-control-structure-allocation-tidy.patch
i386-selectable-frequency-of-the-timer-interrupt-fix.patch
optimise-storage-of-read-mostly-variables-x86_64-fix-fix-fix.patch
x86_64-div-by-zero-fix.patch
mempool-bounce-buffer-restriction.patch
arm-irqs_disabled-type-fix.patch
i386-cpu-hotplug-updated-for-mm-smp_processor_id-cleanup-fix.patch
sibling-map-initializing-rework-smp_processor_id-cleanup-fix.patch
cpu-state-clean-after-hot-remove-smp_processor_id-cleanup-fix.patch
x86_64-change-init-sections-for-cpu-hotplug-support-fix.patch
detect-soft-lockups-smp_processor_id-cleanup-fix.patch
blk-reduce-locking.patch
blk-reduce-locking-fixes.patch
timers-fixes-improvements-smp_processor_id-cleanup-fix.patch
page_uptodate_lock-hashing.patch
kprobes-function-return-probes-fix-4.patch
kprobes-temporary-disarming-of-reentrant-probe-for-x86_64-fix.patch
fix-of-dcache-race-leading-to-busy-inodes-on-umount-fix.patch
fix-of-dcache-race-leading-to-busy-inodes-on-umount-tidy.patch
i2o-fix-waitqueue-brain-damage.patch
pwc-uncompress-warning-fix.patch
fix-tpm-driver-sysfs-owernship-changes-fix-3.patch
dlm-lockspaces-callbacks-directory-build-fix.patch
dlm-lockspaces-callbacks-directory-fix-2.patch
dlm-device-interface-fix.patch
connector-warning-fixes.patch
connector-netlink-id-fix.patch
connector-add-a-fork-connector-build-fix.patch
i2o-new-sysfs-attributes-and-adaptec-specific-block-fix-fix.patch
i2o-build-fix.patch
isofs-show-hidden-files-add-granularity-for-assoc-hidden-files-flags-tidy.patch
isofs-show-hidden-files-add-granularity-for-assoc-hidden-files-flags-fix.patch
nr_blockdev_pages-in_interrupt-warning.patch
numa-aware-slab-allocator-v3-__bad_size-fix.patch
dynamic-sched-domains-sched-changes-fix.patch
bttv-support-for-adlink-rtv24-capture-card-tidy.patch
bttv-support-for-adlink-rtv24-capture-card-more-tidy.patch
v4l-update-for-saa7134-cards-fix.patch
v4l-update-for-saa7134-cards-fix-2.patch
gregkh-i2c-i2c-address_range_removal-v4l-fix-fix.patch
nfs-patch-for-fscache-fixes.patch
kexec-x86_64-optimise-storage-of-read-mostly-variables-x86_64-fix.patch
kdump-accessing-dump-file-in-linear-raw-format.patch
kdump-use-real-pt_regs-from-exception-fix.patch
reiser4-mm-remove-pg_highmem-fix.patch
v9fs-debug-and-support-routines-fix.patch
s1d13xxxfb-linkage-fix.patch
intelfbdrv-naming-fix.patch
intelfb-add-voffset-option-to-avoid-conficts-with-xorg-i810-driver-fix.patch
intelfb-documentation-fix.patch
framebuffer-driver-for-arc-lcd-board-tidy.patch
xip-fs-mm-execute-in-place-3rd-version-fix.patch
xip-ext2-execute-in-place-3rd-version-fixes.patch



From: Andrew Morton <akpm at osdl.org>

drivers/usb/media/pwc/pwc-uncompress.c: In function `pwc_decompress':
drivers/usb/media/pwc/pwc-uncompress.c:140: warning: unreachable code at beginning of switch statement

Signed-off-by: Andrew Morton <akpm at osdl.org>
---

 drivers/usb/media/pwc/pwc-uncompress.c |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff -puN drivers/usb/media/pwc/pwc-uncompress.c~pwc-uncompress-warning-fix drivers/usb/media/pwc/pwc-uncompress.c
--- 25/drivers/usb/media/pwc/pwc-uncompress.c~pwc-uncompress-warning-fix	2005-06-14 21:20:23.000000000 -0700
+++ 25-akpm/drivers/usb/media/pwc/pwc-uncompress.c	2005-06-14 21:20:23.000000000 -0700
@@ -118,9 +118,9 @@ int pwc_decompress(struct pwc_device *pd
 		   return -ENXIO; /* No such device or address: missing decompressor */
 		 }
 
+#if 0
 		switch (pdev->type)
 		 {
-#if 0		 
 		  case 675:
 		  case 680:
 		  case 690:
@@ -128,18 +128,17 @@ int pwc_decompress(struct pwc_device *pd
 		  case 730:
 		  case 740:
 		  case 750:
-		    pwc_dec23_decompress(&pdev->image, &pdev->view, &pdev->offset,
-				yuv, image,
-				flags,
+		    pwc_dec23_decompress(&pdev->image, &pdev->view,
+				&pdev->offset, yuv, image, flags,
 				pdev->decompress_data, pdev->vbandlength);
 		    break;
 		  case 645:
 		  case 646:
 		    /* TODO & FIXME */
-#endif		    
-		    return -ENXIO; /* No such device or address: missing decompressor */
+		    return -ENXIO; /* Missing decompressor */
 		    break;
 		 }
+#endif
 	}
 	return 0;
 }



Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/FC-4/kernel-2.6.spec,v
retrieving revision 1.1379
retrieving revision 1.1380
diff -u -r1.1379 -r1.1380
--- kernel-2.6.spec	23 Jun 2005 23:58:55 -0000	1.1379
+++ kernel-2.6.spec	24 Jun 2005 00:02:54 -0000	1.1380
@@ -342,6 +342,7 @@
 Patch1870: linux-2.6.12-missing-exports.patch
 Patch1880: linux-2.6.11-radeon-backlight.patch
 Patch1890: linux-2.6.12-firedire-init-breakage.patch 
+Patch1900: linux-2.6.12-pwc-warning.patch
 Patch1910: linux-2.6.12-ns558-nodev-rmmod.patch
 
 Patch2000: linux-2.6.11-vm-taint.patch
@@ -791,6 +792,8 @@
 %patch1880 -p1
 # Fix ochi1394 smp init.
 %patch1890 -p1
+# Fix warning in pwc driver.
+%patch1900 -p1
 # Fix oops in ns558 on rmmod
 %patch1910 -p1
 
@@ -1257,6 +1260,7 @@
 - Make orinoco driver suck less.
   (Scanning/roaming/ethtool support).
 - Exec-shield randomisation fix.
+- pwc driver warning fix.
 
 * Wed Jun 22 2005 Dave Jones <davej at redhat.com>
 - 2.6.12.1




More information about the fedora-cvs-commits mailing list