Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269776
b: refs/heads/master
c: bd8315c
h: refs/heads/master
v: v3
  • Loading branch information
Marcin Slusarz authored and Dave Airlie committed Oct 18, 2011
1 parent 3f52518 commit f7e4820
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: a0f92199243adbfe765963d4b4e65d7cbe1eb785
refs/heads/master: bd8315c4a8ade3c0cd6c1933ae6e453958397d22
5 changes: 1 addition & 4 deletions trunk/drivers/gpu/drm/drm_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,8 @@ int drm_debugfs_create_files(struct drm_info_list *files, int count,
ent = debugfs_create_file(files[i].name, S_IFREG | S_IRUGO,
root, tmp, &drm_debugfs_fops);
if (!ent) {
char name[64];
strncpy(name, root->d_name.name,
min(root->d_name.len, 64U));
DRM_ERROR("Cannot create /sys/kernel/debug/dri/%s/%s\n",
name, files[i].name);
root->d_name.name, files[i].name);
kfree(tmp);
ret = -1;
goto fail;
Expand Down

0 comments on commit f7e4820

Please sign in to comment.