diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_channel.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_tsg.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_channel.c b/drivers/gpu/nvgpu/common/linux/ioctl_channel.c index 722dad20..0d7c05de 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_channel.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_channel.c | |||
@@ -712,7 +712,7 @@ static int gk20a_channel_event_id_enable(struct channel_gk20a *ch, | |||
712 | return 0; | 712 | return 0; |
713 | 713 | ||
714 | clean_up_free: | 714 | clean_up_free: |
715 | kfree(event_id_data); | 715 | nvgpu_kfree(g, event_id_data); |
716 | clean_up_file: | 716 | clean_up_file: |
717 | fput(file); | 717 | fput(file); |
718 | clean_up: | 718 | clean_up: |
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c b/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c index 75231c71..c98d9873 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c | |||
@@ -161,7 +161,7 @@ static int gk20a_tsg_event_id_enable(struct tsg_gk20a *tsg, | |||
161 | return 0; | 161 | return 0; |
162 | 162 | ||
163 | clean_up_free: | 163 | clean_up_free: |
164 | kfree(event_id_data); | 164 | nvgpu_kfree(g, event_id_data); |
165 | clean_up_file: | 165 | clean_up_file: |
166 | fput(file); | 166 | fput(file); |
167 | clean_up: | 167 | clean_up: |