linux/drivers/infiniband
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
..
core IB/cm: Refactor to avoid setting path record software only fields 2017-12-18 15:37:12 -07:00
hw RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS 2017-12-20 19:56:24 -07:00
sw IB/rxe: Avoid passing unused index pointer which is optional 2017-12-18 15:37:08 -07:00
ulp iser-target: avoid reinitializing rdma contexts for isert commands 2017-12-18 16:12:18 -07:00
Kconfig infiniband: add MMU dependency for user_mem 2017-10-10 10:49:44 -04:00
Makefile