mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 00:40:55 +07:00
Staging: udlfb: fix up my fixup for some sysfs attribute permissions
They should be writable by root, not readable. Doh, stupid me with the wrong flags. Reported-by: Jonathan Cameron <jic23@cam.ac.uk> Cc: Bernie Thompson <bernie@plugable.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
4d7bc388b4
commit
926c11151e
@ -1441,7 +1441,7 @@ static struct device_attribute fb_device_attrs[] = {
|
||||
__ATTR_RO(metrics_bytes_identical),
|
||||
__ATTR_RO(metrics_bytes_sent),
|
||||
__ATTR_RO(metrics_cpu_kcycles_used),
|
||||
__ATTR(metrics_reset, S_IRUSR, NULL, metrics_reset_store),
|
||||
__ATTR(metrics_reset, S_IWUSR, NULL, metrics_reset_store),
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user