Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78643
b: refs/heads/master
c: a5929af
h: refs/heads/master
i:
  78641: 3a53d73
  78639: 930ad0a
v: v3
  • Loading branch information
Joonwoo Park authored and David S. Miller committed Jan 28, 2008
1 parent d864259 commit ea951ef
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: fb64c735a52f396aa261844b851cd820a80dee46
refs/heads/master: a5929af4075c2ccd08aef7ca95a41f2a2abb3e47
3 changes: 1 addition & 2 deletions trunk/drivers/atm/ambassador.c
Original file line number Diff line number Diff line change
Expand Up @@ -2163,7 +2163,6 @@ static int __devinit amb_init (amb_dev * dev)
static void setup_dev(amb_dev *dev, struct pci_dev *pci_dev)
{
unsigned char pool;
memset (dev, 0, sizeof(amb_dev));

// set up known dev items straight away
dev->pci_dev = pci_dev;
Expand Down Expand Up @@ -2253,7 +2252,7 @@ static int __devinit amb_probe(struct pci_dev *pci_dev, const struct pci_device_
goto out_disable;
}

dev = kmalloc (sizeof(amb_dev), GFP_KERNEL);
dev = kzalloc(sizeof(amb_dev), GFP_KERNEL);
if (!dev) {
PRINTK (KERN_ERR, "out of memory!");
err = -ENOMEM;
Expand Down

0 comments on commit ea951ef

Please sign in to comment.