remarkable-linux/drivers/staging
Ira Weiny e116a64fab IB/hfi: Properly set permissions for user device files
Some of the device files are required to be user accessible for PSM while
most should remain accessible only by root.

Add a parameter to hfi1_cdev_init which controls if the user should have access
to this device which places it in a different class with the appropriate
devnode callback.

In addition set the devnode call back for the existing class to be a bit more
explicit for those permissions.

Finally remove the unnecessary null check before class_destroy

Tested-by: Donald Dutile <ddutile@redhat.com>
Signed-off-by: Haralanov, Mitko (mitko.haralanov@intel.com)
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-09-18 11:28:47 -04:00
..
android Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
board staging: make board support depend on OF_IRQ and CLKDEV_LOOKUP 2015-07-06 10:06:47 -07:00
clocking-wizard
comedi staging: comedi: das1800: add missing break in switch 2015-07-31 16:59:47 -07:00
dgap
dgnc
emxx_udc
fbtft
fsl-mc
ft1000
fwserial
gdm72xx
gdm724x
goldfish
gs_fpgaboot
iio
lustre staging: lustre: Include unaligned.h instead of access_ok.h 2015-08-04 22:13:25 -07:00
media Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
mt29f_spinand
netlogic
nvec
octeon
octeon-usb
olpc_dcon
ozwpan
panel Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
rdma IB/hfi: Properly set permissions for user device files 2015-09-18 11:28:47 -04:00
rtl8188eu
rtl8192e
rtl8192u
rtl8712
rtl8723au Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
rts5208 Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
skein
slicoss
sm7xxfb
sm750fb Staging: sm750fb: ddk750_swi2c.c: Insert spaces before parenthesis 2015-06-18 22:10:02 -07:00
speakup
ste_rmi4
unisys
vme
vt6655 staging: vt6655: vnt_bss_info_changed check conf->beacon_rate is not NULL 2015-08-03 17:54:51 -07:00
vt6656 staging: vt6656: check ieee80211_bss_conf bssid not NULL 2015-07-14 19:34:57 -07:00
wilc1000 staging: wilc1000: disable driver due to build warnings 2015-06-26 12:04:47 -07:00
wlan-ng Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
xgifb
Kconfig Staging: Add staging/rdma directory and update MAINTAINERS 2015-08-28 22:54:49 -04:00
Makefile Staging: Add staging/rdma directory and update MAINTAINERS 2015-08-28 22:54:49 -04:00
staging.c