Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74889
b: refs/heads/master
c: a26e01d
h: refs/heads/master
i:
  74887: 97bff96
v: v3
  • Loading branch information
Richard Knutsson authored and David S. Miller committed Dec 16, 2007
1 parent 37b9e7c commit 92d864e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: ea332912b8a2e0b2f51ac3b6c197b71d3a18cbb7
refs/heads/master: a26e01d71622a4cecad06ce85bcab3ed878e7f83
6 changes: 3 additions & 3 deletions trunk/net/irda/parameters.c
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ int irda_param_insert(void *self, __u8 pi, __u8 *buf, int len,
int n = 0;

IRDA_ASSERT(buf != NULL, return ret;);
IRDA_ASSERT(info != 0, return ret;);
IRDA_ASSERT(info != NULL, return ret;);

pi_minor = pi & info->pi_mask;
pi_major = pi >> info->pi_major_offset;
Expand Down Expand Up @@ -517,7 +517,7 @@ static int irda_param_extract(void *self, __u8 *buf, int len,
int n = 0;

IRDA_ASSERT(buf != NULL, return ret;);
IRDA_ASSERT(info != 0, return ret;);
IRDA_ASSERT(info != NULL, return ret;);

pi_minor = buf[n] & info->pi_mask;
pi_major = buf[n] >> info->pi_major_offset;
Expand Down Expand Up @@ -570,7 +570,7 @@ int irda_param_extract_all(void *self, __u8 *buf, int len,
int n = 0;

IRDA_ASSERT(buf != NULL, return ret;);
IRDA_ASSERT(info != 0, return ret;);
IRDA_ASSERT(info != NULL, return ret;);

/*
* Parse all parameters. Each parameter must be at least two bytes
Expand Down

0 comments on commit 92d864e

Please sign in to comment.