Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304107
b: refs/heads/master
c: 094e47e
h: refs/heads/master
i:
  304105: 478148b
  304103: 2edde5c
v: v3
  • Loading branch information
Hiroshi DOYU authored and Greg Kroah-Hartman committed May 14, 2012
1 parent c047795 commit 09026cf
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 3ce9a7c0ac28561567fadedf1a99272e4970f740
refs/heads/master: 094e47e9fa79e28f0e51e37400ea6eea35a4ee1f
2 changes: 1 addition & 1 deletion trunk/drivers/base/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ struct device *driver_find_device(struct device_driver *drv,
struct klist_iter i;
struct device *dev;

if (!drv)
if (!drv || !drv->p)
return NULL;

klist_iter_init_node(&drv->p->klist_devices, &i,
Expand Down

0 comments on commit 09026cf

Please sign in to comment.