Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96134
b: refs/heads/master
c: cb6969e
h: refs/heads/master
v: v3
  • Loading branch information
Harvey Harrison authored and Linus Torvalds committed May 8, 2008
1 parent 21d9270 commit 09a68c5
Show file tree
Hide file tree
Showing 4 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: 8594303a7abc1a117b1d91412ce9b3d77ed35d02
refs/heads/master: cb6969e8cdef39e613b1755eff595f830b89bc82
2 changes: 1 addition & 1 deletion trunk/drivers/md/raid10.c
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ static int make_request(struct request_queue *q, struct bio * bio)
*/
raid10_find_phys(conf, r10_bio);
retry_write:
blocked_rdev = 0;
blocked_rdev = NULL;
rcu_read_lock();
for (i = 0; i < conf->copies; i++) {
int d = r10_bio->devs[i].devnum;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/cx18/cx18-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ static int __devinit cx18_probe(struct pci_dev *dev,
}

cx = kzalloc(sizeof(struct cx18), GFP_ATOMIC);
if (cx == 0) {
if (!cx) {
spin_unlock(&cx18_cards_lock);
return -ENOMEM;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/oss/kahlua.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static int __devinit probe_one(struct pci_dev *pdev, const struct pci_device_id
return 1;

mem = ioremap(base, 128);
if(mem == 0UL)
if (!mem)
return 1;
map = readw(mem + 0x18); /* Read the SMI enables */
iounmap(mem);
Expand Down

0 comments on commit 09a68c5

Please sign in to comment.