Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7429
b: refs/heads/master
c: 9b19d85
h: refs/heads/master
i:
  7427: e7cd194
v: v3
  • Loading branch information
Olaf Hering authored and Linus Torvalds committed Sep 7, 2005
1 parent e5bf01a commit ca5bfcf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 736c7b808f38f3bb72941345e11e236ec65dec3d
refs/heads/master: 9b19d85acca488b63af96f59c8bad2dfd75506b0
8 changes: 8 additions & 0 deletions trunk/drivers/ieee1394/nodemgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,8 @@ static int nodemgr_hotplug(struct class_device *cdev, char **envp, int num_envp,
struct unit_directory *ud;
int i = 0;
int length = 0;
/* ieee1394:venNmoNspNverN */
char buf[8 + 1 + 3 + 8 + 2 + 8 + 2 + 8 + 3 + 8 + 1];

if (!cdev)
return -ENODEV;
Expand All @@ -1094,6 +1096,12 @@ do { \
PUT_ENVP("GUID=%016Lx", (unsigned long long)ud->ne->guid);
PUT_ENVP("SPECIFIER_ID=%06x", ud->specifier_id);
PUT_ENVP("VERSION=%06x", ud->version);
snprintf(buf, sizeof(buf), "ieee1394:ven%08Xmo%08Xsp%08Xver%08X",
ud->vendor_id,
ud->model_id,
ud->specifier_id,
ud->version);
PUT_ENVP("MODALIAS=%s", buf);

#undef PUT_ENVP

Expand Down

0 comments on commit ca5bfcf

Please sign in to comment.