Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99285
b: refs/heads/master
c: 0936a94
h: refs/heads/master
i:
  99283: 083050a
v: v3
  • Loading branch information
Robert P. J. Day authored and Herbert Xu committed Jul 10, 2008
1 parent d0b5878 commit 7d3a7cb
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: feedfdaa7bc02694c122d2d5246184248fb04513
refs/heads/master: 0936a944068ef68f8b19f437e03f4654c29f2423
2 changes: 1 addition & 1 deletion trunk/drivers/crypto/hifn_795x.c
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ static int hifn_enable_crypto(struct hifn_device *dev)
char *offtbl = NULL;
int i;

for (i = 0; i < sizeof(pci2id)/sizeof(pci2id[0]); i++) {
for (i = 0; i < ARRAY_SIZE(pci2id); i++) {
if (pci2id[i].pci_vendor == dev->pdev->vendor &&
pci2id[i].pci_prod == dev->pdev->device) {
offtbl = pci2id[i].card_id;
Expand Down

0 comments on commit 7d3a7cb

Please sign in to comment.