+ drivers-char-ip2-fix-used-uninitd-bug.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     drivers/char/ip2: fix used-uninit'd bug
has been added to the -mm tree.  Its filename is
     drivers-char-ip2-fix-used-uninitd-bug.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: drivers/char/ip2: fix used-uninit'd bug
From: Jeff Garzik <jeff@xxxxxxxxxx>

Fix bug flagged by a variable-used-uninitialized warning.

Signed-off-by: Jeff Garzik <jgarzik@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/char/ip2/ip2main.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff -puN drivers/char/ip2/ip2main.c~drivers-char-ip2-fix-used-uninitd-bug drivers/char/ip2/ip2main.c
--- a/drivers/char/ip2/ip2main.c~drivers-char-ip2-fix-used-uninitd-bug
+++ a/drivers/char/ip2/ip2main.c
@@ -619,11 +619,7 @@ ip2_loadmain(int *iop, int *irqp, unsign
 					ip2config.irq[i] = pci_dev_i->irq;
 				} else {	// ann error
 					ip2config.addr[i] = 0;
-					if (status == PCIBIOS_DEVICE_NOT_FOUND) {
-						printk( KERN_ERR "IP2: PCI board %d not found\n", i );
-					} else {
-						printk( KERN_ERR "IP2: PCI error 0x%x \n", status );
-					}
+					printk( KERN_ERR "IP2: PCI board %d not found\n", i );
 				} 
 			}
 #else
_

Patches currently in -mm which might be from jeff@xxxxxxxxxx are

origin.patch
git-jg-misc.patch
git-jg-warning-fixes.patch
git-jg-misc-powernow-fix.patch
git-kbuild.patch
git-libata-all.patch
drivers-ata-libata-ehc-fix-printk-warning.patch
scsi-expose-an-support-to-user-space.patch
libata-expose-an-to-user-space.patch
forcedeth-power-down-phy-when-interface-is-down.patch
forcedeth-power-down-phy-when-interface-is-down-checkpatch-fixes.patch
forcedeth-fix-mac-address-detection-on-network-card-regression-in-2623.patch
tokenring-3c359c-fixed-array-index-problem.patch
update-smc91x-driver-with-arm-versatile-board-info.patch
git-scsi-misc.patch
scsi-use-notifier-chain-for-asynchronous-event.patch
git-wireless.patch
dma-use-dev_to_node-to-get-node-for-device-in-dma_alloc_pages.patch
make-the-pr_-family-of-macros-in-kernelh-complete.patch
doc-about-email-clients-for-linux-patches.patch
unify-dma_bit_mask-definitions-v31.patch
intel-iommu-fix-for-iommu-early-crash-2.patch
add-missing-newlines-to-some-uses-of-dev_level-messages.patch
s2io-rename-bit-macro.patch
define-global-bit-macro.patch
sparse-pointer-use-of-zero-as-null.patch
sparse-pointer-use-of-zero-as-null-checkpatch-fixes.patch
drivers-block-cpqarraycciss-kill-unused-var.patch
drivers-char-ip2-fix-used-uninitd-bug.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux