Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190436
b: refs/heads/master
c: 95b1ed2
h: refs/heads/master
v: v3
  • Loading branch information
Hector Palacios authored and Grant Likely committed Apr 29, 2010
1 parent b388350 commit b5201d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: dda04c7bcf58cb02ac796beb1cf483aa5277f2af
refs/heads/master: 95b1ed2ac7ffe3205afc6f5a20320fbdb984da92
2 changes: 1 addition & 1 deletion trunk/Documentation/spi/spidev_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static void transfer(int fd)
};

ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr);
if (ret == 1)
if (ret < 1)
pabort("can't send spi message");

for (ret = 0; ret < ARRAY_SIZE(tx); ret++) {
Expand Down

0 comments on commit b5201d3

Please sign in to comment.