Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192943
b: refs/heads/master
c: d22e546
h: refs/heads/master
i:
  192941: 6606f4f
  192939: 525795a
  192935: c64846b
  192927: 910c61f
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed May 19, 2010
1 parent c808c3c commit 21f0e72
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: b320f80a6a02bbf31f7ed6ab3332f7c4ebaaac2c
refs/heads/master: d22e546ea18ee66c255af906f2714d3ee82d4b42
2 changes: 1 addition & 1 deletion trunk/drivers/media/IR/ir-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static ssize_t store_protocol(struct device *d,
unsigned long flags;
char *buf;

while (buf = strsep((char **) &data, " \n")) {
while ((buf = strsep((char **) &data, " \n")) != NULL) {
if (!strcasecmp(buf, "rc-5") || !strcasecmp(buf, "rc5"))
ir_type |= IR_TYPE_RC5;
if (!strcasecmp(buf, "pd") || !strcasecmp(buf, "pulse-distance"))
Expand Down

0 comments on commit 21f0e72

Please sign in to comment.