- net-niu-fix-compile-warnings.patch removed from -mm tree

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

 



The patch titled
     net/niu: fix compile warnings
has been removed from the -mm tree.  Its filename was
     net-niu-fix-compile-warnings.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: net/niu: fix compile warnings
From: Takashi Iwai <tiwai@xxxxxxx>

Fix the wrong return value from niu_ethflow_to_class().

  drivers/net/niu.c: In function 'niu_get_hash_opts':
  drivers/net/niu.c:6481: warning: 'class' may be used uninitialized in this function
  drivers/net/niu.c: In function 'niu_set_hash_opts':
  drivers/net/niu.c:6501: warning: 'class' may be used uninitialized in this function

Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
Cc: Jeff Garzik <jeff@xxxxxxxxxx>
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/net/niu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/net/niu.c~net-niu-fix-compile-warnings drivers/net/niu.c
--- a/drivers/net/niu.c~net-niu-fix-compile-warnings
+++ a/drivers/net/niu.c
@@ -6417,7 +6417,7 @@ static int niu_ethflow_to_class(int flow
 		*class = CLASS_CODE_SCTP_IPV6;
 		break;
 	default:
-		return -1;
+		return 0;
 	}
 
 	return 1;
_

Patches currently in -mm which might be from tiwai@xxxxxxx are

linux-next.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