Skip to content

Commit

Permalink
Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux
Browse files Browse the repository at this point in the history
Pull drm fixes from Dave Airlie:
 "Just two minor fixes as people keep resending since they are so low
  hanging"

* 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
  drm/nouveau/hwmon: fix compilation without CONFIG_HWMON
  drm/sysfs: fix OOM verification
  • Loading branch information
torvalds committed Nov 28, 2013
2 parents 682a251 + eec9901 commit e7c0d3d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/drm_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ int drm_sysfs_device_add(struct drm_minor *minor)
minor_str = "card%d";

minor->kdev = kzalloc(sizeof(*minor->kdev), GFP_KERNEL);
if (!minor->dev) {
if (!minor->kdev) {
r = -ENOMEM;
goto error;
}
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/nouveau/nouveau_hwmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,6 @@ nouveau_hwmon_init(struct drm_device *dev)
hwmon->hwmon = NULL;
return ret;
#else
hwmon->hwmon = NULL;
return 0;
#endif
}
Expand Down

0 comments on commit e7c0d3d

Please sign in to comment.