Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304327
b: refs/heads/master
c: 09f78be
h: refs/heads/master
i:
  304325: 3720dc7
  304323: 9f250ab
  304319: 2b22070
v: v3
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Apr 10, 2012
1 parent 04859f4 commit b25c3a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 60e6d2689c2ab975a2ac3475b3ebd45c3edf905a
refs/heads/master: 09f78be78afbdc8b164905e9a19698922fa45edb
4 changes: 2 additions & 2 deletions trunk/drivers/staging/iio/Documentation/generic_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ void print2byte(int input, struct iio_channel_info *info)
/* First swap if incorrect endian */

if (info->be)
input = be16toh((uint_16t)input);
input = be16toh((uint16_t)input);
else
input = le16toh((uint_16t)input);
input = le16toh((uint16_t)input);

/* shift before conversion to avoid sign extension
of left aligned data */
Expand Down

0 comments on commit b25c3a3

Please sign in to comment.