Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10639
b: refs/heads/master
c: 078d9fe
h: refs/heads/master
i:
  10637: 54bd80b
  10635: a3f056c
  10631: 4f1f510
  10623: 1598fbf
v: v3
  • Loading branch information
Jean Delvare authored and Greg Kroah-Hartman committed Oct 28, 2005
1 parent 2422399 commit 9677ca1
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 5263ebb51eb098b01caf229498c954999117e4a7
refs/heads/master: 078d9fe4fe8dada13e37d2e2790b0ad780324097
2 changes: 1 addition & 1 deletion trunk/drivers/i2c/busses/i2c-keywest.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ create_iface(struct device_node *np, struct device *dev)

tsize = sizeof(struct keywest_iface) +
(sizeof(struct keywest_chan) + 4) * nchan;
iface = (struct keywest_iface *) kzalloc(tsize, GFP_KERNEL);
iface = kzalloc(tsize, GFP_KERNEL);
if (iface == NULL) {
printk(KERN_ERR "i2c-keywest: can't allocate inteface !\n");
pmac_low_i2c_unlock(np);
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/i2c/busses/i2c-nforce2.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,7 @@ static int __devinit nforce2_probe(struct pci_dev *dev, const struct pci_device_
int res1, res2;

/* we support 2 SMBus adapters */
if (!(smbuses = (void *)kzalloc(2*sizeof(struct nforce2_smbus),
GFP_KERNEL)))
if (!(smbuses = kzalloc(2*sizeof(struct nforce2_smbus), GFP_KERNEL)))
return -ENOMEM;
pci_set_drvdata(dev, smbuses);

Expand Down

0 comments on commit 9677ca1

Please sign in to comment.