projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fea191
)
hv: make vmbus_loglevel writeable
author
Olaf Hering
<olaf@aepfle.de>
Sat, 16 Apr 2011 16:50:42 +0000
(18:50 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 20 Apr 2011 20:40:35 +0000
(13:40 -0700)
make /sys/module/hv_vmbus/parameters/vmbus_loglevel writeable by root.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/vmbus_drv.c
patch
|
blob
|
history
diff --git
a/drivers/staging/hv/vmbus_drv.c
b/drivers/staging/hv/vmbus_drv.c
index
8516f43
..
c85d796
100644
(file)
--- a/
drivers/staging/hv/vmbus_drv.c
+++ b/
drivers/staging/hv/vmbus_drv.c
@@
-827,7
+827,7
@@
static void __exit hv_pci_exit(void)
MODULE_LICENSE("GPL");
MODULE_VERSION(HV_DRV_VERSION);
-module_param(vmbus_loglevel, int, S_IRUGO);
+module_param(vmbus_loglevel, int, S_IRUGO
|S_IWUSR
);
module_init(hv_pci_init);
module_exit(hv_pci_exit);