linux/drivers/infiniband/hw/ocrdma
Anton Vasilyev 7448208691 RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS
Debugfs file reset_stats is created with S_IRUSR permissions,
but ocrdma_dbgfs_ops_read() doesn't support OCRDMA_RESET_STATS,
whereas ocrdma_dbgfs_ops_write() supports only OCRDMA_RESET_STATS.

The patch fixes misstype with permissions.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru>
Acked-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2017-12-20 19:56:24 -07:00
..
Kconfig RDMA/ocrdma: Add dependency on INET 2014-01-19 15:16:23 -08:00
Makefile RDMA/ocrdma: Query controller information 2014-04-03 08:30:05 -07:00
ocrdma_ah.c IB: Let ib_core resolve destination mac address 2017-10-18 12:10:36 -04:00
ocrdma_ah.h IB/core: Rename struct ib_ah_attr to rdma_ah_attr 2017-05-01 14:32:43 -04:00
ocrdma_hw.c IB/ocrdma_hw: remove unnecessary code in ocrdma_mbx_dealloc_lkey 2017-11-13 16:18:33 -05:00
ocrdma_hw.h RDMA/ocrdma: Depend on async link events from CNA 2016-01-19 14:00:47 -05:00
ocrdma_main.c RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
ocrdma_sli.h RDMA: Adding ethertype ETH_P_IBOE 2017-01-10 14:05:11 -05:00
ocrdma_stats.c RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS 2017-12-20 19:56:24 -07:00
ocrdma_stats.h RDMA/ocrdma: Initialize stats resources in the driver before ib device registration. 2016-02-05 15:14:27 -05:00
ocrdma_verbs.c IB/ocrdma: Remove unneeded conversions to bool 2017-12-13 11:00:14 -07:00
ocrdma_verbs.h IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00
ocrdma.h IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00