Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298446
b: refs/heads/master
c: 4eee6a3
h: refs/heads/master
v: v3
  • Loading branch information
Phil Sutter authored and David S. Miller committed Mar 28, 2012
1 parent 10aa42b commit 5349b4f
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 7dd30d447b7f4a129586cce8e57d0163dde876b0
refs/heads/master: 4eee6a3a04e8bb53fbe7de0f64d0524d3fbe3f80
3 changes: 2 additions & 1 deletion trunk/drivers/net/wimax/i2400m/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,8 @@ static void i2400m_get_drvinfo(struct net_device *net_dev,
struct i2400m *i2400m = net_dev_to_i2400m(net_dev);

strncpy(info->driver, KBUILD_MODNAME, sizeof(info->driver) - 1);
strncpy(info->fw_version, i2400m->fw_name, sizeof(info->fw_version) - 1);
strncpy(info->fw_version,
i2400m->fw_name ? : "", sizeof(info->fw_version) - 1);
if (net_dev->dev.parent)
strncpy(info->bus_info, dev_name(net_dev->dev.parent),
sizeof(info->bus_info) - 1);
Expand Down

0 comments on commit 5349b4f

Please sign in to comment.