projects
/
platform
/
upstream
/
kmscon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61d88ec
)
uvt: cdev: print minor/major debug messages
author
David Herrmann
<dh.herrmann@gmail.com>
Tue, 5 Mar 2013 00:24:17 +0000
(
01:24
+0100)
committer
David Herrmann
<dh.herrmann@gmail.com>
Tue, 5 Mar 2013 00:24:17 +0000
(
01:24
+0100)
These numbers are pretty useful during debugging so print them before
attempting to create the cdev devices.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
src/uvt_cdev.c
patch
|
blob
|
history
diff --git
a/src/uvt_cdev.c
b/src/uvt_cdev.c
index
44867db
..
bc5a4f7
100644
(file)
--- a/
src/uvt_cdev.c
+++ b/
src/uvt_cdev.c
@@
-313,8
+313,8
@@
static int uvt_cdev_init(struct uvt_cdev *cdev, const char *name,
return -EINVAL;
}
- llog_info(cdev, "creating device /dev/%s on cdev %p",
- name, cdev);
+ llog_info(cdev, "creating device /dev/%s
%u:%u
on cdev %p",
+ name,
major, minor,
cdev);
ret = asprintf(&nparam, "DEVNAME=%s", name);
if (ret <= 0)