projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5661df7
)
[IRDA]: Use htons() where appropriate.
author
YOSHIFUJI Hideaki
<yoshfuji@linux-ipv6.org>
Tue, 11 Dec 2007 18:53:26 +0000
(
03:53
+0900)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 22:58:03 +0000
(14:58 -0800)
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/iriap.c
patch
|
blob
|
blame
|
history
diff --git
a/net/irda/iriap.c
b/net/irda/iriap.c
index a86a5d83786b349bb92e773ad8d70c0d6340fe49..390a790886ebbd3e6006dd3f0638b0d2c0fba46d 100644
(file)
--- a/
net/irda/iriap.c
+++ b/
net/irda/iriap.c
@@
-579,7
+579,7
@@
static void iriap_getvaluebyclass_response(struct iriap_cb *self,
fp[n++] = ret_code;
/* Insert list length (MSB first) */
- tmp_be16 =
__constant_
htons(0x0001);
+ tmp_be16 = htons(0x0001);
memcpy(fp+n, &tmp_be16, 2); n += 2;
/* Insert object identifier ( MSB first) */