lkml.org 
[lkml]   [2008]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] tipc: Use the appropriate swab helper rather than an internal helper
From
Date
___generally means I am an internal implementation detail, don't use
me.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
Sorry for breaking the build Andrew, my testing has been with all the __constant
versions in-tree removed.

net/tipc/subscr.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/tipc/subscr.c b/net/tipc/subscr.c
index 0326d30..f5da05d 100644
--- a/net/tipc/subscr.c
+++ b/net/tipc/subscr.c
@@ -85,7 +85,7 @@ static struct top_srv topsrv = { 0 };

static u32 htohl(u32 in, int swap)
{
- return swap ? (u32)___constant_swab32(in) : in;
+ return swap ? (u32)swab32(in) : in;
}

/**
--
1.6.0.rc2.233.g3cb9d




\
 
 \ /
  Last update: 2008-08-13 06:09    [W:0.128 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site