Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101579
b: refs/heads/master
c: d7f305e
h: refs/heads/master
i:
  101577: 454fbb9
  101575: fc3cd8e
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and James Bottomley committed Jul 12, 2008
1 parent 844d277 commit 08d00bb
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 02a1e3ce7df624ba91e8ff06e172f448746ad76a
refs/heads/master: d7f305e9a08040649b0800245e67708df58cdb55
4 changes: 1 addition & 3 deletions trunk/drivers/scsi/sym53c8xx_2/sym_misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ static __inline void sym_que_move(struct sym_quehead *orig,
}
}

#define sym_que_entry(ptr, type, member) \
((type *)((char *)(ptr)-(unsigned int)(&((type *)0)->member)))

#define sym_que_entry(ptr, type, member) container_of(ptr, type, member)

#define sym_insque(new, pos) __sym_que_add(new, pos, (pos)->flink)

Expand Down

0 comments on commit 08d00bb

Please sign in to comment.