Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236347
b: refs/heads/master
c: 1840c15
h: refs/heads/master
i:
  236345: 9249877
  236343: ad0f85c
v: v3
  • Loading branch information
Alexander Beregalov authored and Greg Kroah-Hartman committed Mar 9, 2011
1 parent dabdcbf commit 77a3ade
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 12d0eb47ddd20cf8f1e8d768b0f8f81984902a60
refs/heads/master: 1840c15b0a504fed6ee08b475245a964336b76e6
3 changes: 1 addition & 2 deletions trunk/drivers/staging/rts_pstor/rtsx.c
Original file line number Diff line number Diff line change
Expand Up @@ -931,11 +931,10 @@ static int __devinit rtsx_probe(struct pci_dev *pci, const struct pci_device_id
dev = host_to_rtsx(host);
memset(dev, 0, sizeof(struct rtsx_dev));

dev->chip = (struct rtsx_chip *)kmalloc(sizeof(struct rtsx_chip), GFP_KERNEL);
dev->chip = kzalloc(sizeof(struct rtsx_chip), GFP_KERNEL);
if (dev->chip == NULL) {
goto errout;
}
memset(dev->chip, 0, sizeof(struct rtsx_chip));

spin_lock_init(&dev->reg_lock);
mutex_init(&(dev->dev_mutex));
Expand Down

0 comments on commit 77a3ade

Please sign in to comment.