Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66537
b: refs/heads/master
c: 655b4d1
h: refs/heads/master
i:
  66535: 94a9595
v: v3
  • Loading branch information
Jesper Juhl authored and David S. Miller committed Oct 10, 2007
1 parent cd59245 commit a8607bc
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: 4b04f19625dcf43171b0b8d53be050a8f144c43d
refs/heads/master: 655b4d16ac5e551e5c8dac5812156edfd87bf822
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/libertas/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,7 @@ static ssize_t wlan_debugfs_write(struct file *f, const char __user *buf,
char *p2;
struct debug_data *d = (struct debug_data *)f->private_data;

pdata = (char *)kmalloc(cnt, GFP_KERNEL);
pdata = kmalloc(cnt, GFP_KERNEL);
if (pdata == NULL)
return 0;

Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/net/wireless/libertas/ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ static int libertas_ethtool_get_eeprom(struct net_device *dev,

// mutex_lock(&priv->mutex);

adapter->prdeeprom =
(char *)kmalloc(eeprom->len+sizeof(regctrl), GFP_KERNEL);
adapter->prdeeprom = kmalloc(eeprom->len+sizeof(regctrl), GFP_KERNEL);
if (!adapter->prdeeprom)
return -ENOMEM;
memcpy(adapter->prdeeprom, &regctrl, sizeof(regctrl));
Expand Down

0 comments on commit a8607bc

Please sign in to comment.