+ ipx-correct-return-type-of-ipx_map_frame_type.patch added to -mm tree

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

 



The patch titled

     ipx: correct return type of ipx_map_frame_type

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

     ipx-correct-return-type-of-ipx_map_frame_type.patch

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


From: Alexey Dobriyan <adobriyan@xxxxxxxxx>

Casting BE16 to int and back may or may not work. Correct, to be sure.

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 net/ipx/af_ipx.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN net/ipx/af_ipx.c~ipx-correct-return-type-of-ipx_map_frame_type net/ipx/af_ipx.c
--- 25/net/ipx/af_ipx.c~ipx-correct-return-type-of-ipx_map_frame_type	Tue May 16 11:59:34 2006
+++ 25-akpm/net/ipx/af_ipx.c	Tue May 16 11:59:34 2006
@@ -944,9 +944,9 @@ out:
 	return rc;
 }
 
-static int ipx_map_frame_type(unsigned char type)
+static __be16 ipx_map_frame_type(unsigned char type)
 {
-	int rc = 0;
+	__be16 rc = 0;
 
 	switch (type) {
 	case IPX_FRAME_ETHERII:	rc = htons(ETH_P_IPX);		break;
_

Patches currently in -mm which might be from adobriyan@xxxxxxxxx are

origin.patch
selinux-endian-fix.patch
git-acpi.patch
cifs-endian-fix.patch
git-mtd.patch
e1000-endian-fixes.patch
ipv6-endian-fix.patch
ipx-correct-return-type-of-ipx_map_frame_type.patch
x86-dont-trigger-full-rebuild-via-config_mtrr.patch
dont-trigger-full-rebuild-via-config_x86_mce.patch
remove-config_parport_arc-drivers-parport-parport_arcc.patch
two-additions-to-linux-documentation-ioctl-numbertxt.patch
more-bug_on-conversion.patch
reiser4.patch
reiser4-gfp_t-annotations.patch
documentation-ioctl-messtxt-start-tree-wide-ioctl-registry.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