Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84325
b: refs/heads/master
c: 7d640c4
h: refs/heads/master
i:
  84323: 5712e42
v: v3
  • Loading branch information
Michael E Brown authored and Greg Kroah-Hartman committed Feb 7, 2008
1 parent ccb4566 commit 20a55eb
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: f4a00a2c06bc7802f52969cbdd19f4c680a7cd20
refs/heads/master: 7d640c4a5b36c4733460065db1554da924044511
3 changes: 2 additions & 1 deletion trunk/drivers/base/firmware_class.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ firmware_class_timeout(u_long data)

static inline void fw_setup_device_id(struct device *f_dev, struct device *dev)
{
snprintf(f_dev->bus_id, BUS_ID_SIZE, "firmware-%s", dev->bus_id);
/* XXX warning we should watch out for name collisions */
strlcpy(f_dev->bus_id, dev->bus_id, BUS_ID_SIZE);
}

static int fw_register_device(struct device **dev_p, const char *fw_name,
Expand Down

0 comments on commit 20a55eb

Please sign in to comment.