Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255739
b: refs/heads/master
c: 5b49b35
h: refs/heads/master
i:
  255737: f2441e9
  255735: 01c1e41
v: v3
  • Loading branch information
Dan Carpenter authored and John W. Linville committed Jun 10, 2011
1 parent c02137f commit 2e47928
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 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: 287546df342daaa146c840ce26b3ed012a055de5
refs/heads/master: 5b49b35a671e59c16c33611ea2d5650438388663
6 changes: 5 additions & 1 deletion trunk/drivers/net/wireless/b43/bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ void b43_bus_ssb_block_write(struct b43_bus_dev *dev, const void *buffer,

struct b43_bus_dev *b43_bus_dev_ssb_init(struct ssb_device *sdev)
{
struct b43_bus_dev *dev = kzalloc(sizeof(*dev), GFP_KERNEL);
struct b43_bus_dev *dev;

dev = kzalloc(sizeof(*dev), GFP_KERNEL);
if (!dev)
return NULL;

dev->bus_type = B43_BUS_SSB;
dev->sdev = sdev;
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/net/wireless/b43/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -5025,6 +5025,8 @@ int b43_ssb_probe(struct ssb_device *sdev, const struct ssb_device_id *id)
int first = 0;

dev = b43_bus_dev_ssb_init(sdev);
if (!dev)
return -ENOMEM;

wl = ssb_get_devtypedata(sdev);
if (!wl) {
Expand Down

0 comments on commit 2e47928

Please sign in to comment.