mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
nvgpu: include: Fix NVGPU_TSG_IOCTL_READ_SINGLE_SM_ERROR_STATE definition
IOCTL definition specifies _IOR whereas _IOWR is required Bug 200412642 Change-Id: I1093362ea621ee507d19236b859b7defb6dfa090 Signed-off-by: Anup Mahindre <amahindre@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1920071 Reviewed-by: Deepak Nibade <dnibade@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Abdul Salam
parent
e00aafb135
commit
739b5d1506
@@ -1081,7 +1081,7 @@ struct nvgpu_tsg_read_single_sm_error_state_args {
|
||||
#define NVGPU_TSG_IOCTL_BIND_CHANNEL_EX \
|
||||
_IOWR(NVGPU_TSG_IOCTL_MAGIC, 11, struct nvgpu_tsg_bind_channel_ex_args)
|
||||
#define NVGPU_TSG_IOCTL_READ_SINGLE_SM_ERROR_STATE \
|
||||
_IOR(NVGPU_TSG_IOCTL_MAGIC, 12, \
|
||||
_IOWR(NVGPU_TSG_IOCTL_MAGIC, 12, \
|
||||
struct nvgpu_tsg_read_single_sm_error_state_args)
|
||||
#define NVGPU_TSG_IOCTL_MAX_ARG_SIZE \
|
||||
sizeof(struct nvgpu_tsg_bind_channel_ex_args)
|
||||
|
||||
Reference in New Issue
Block a user