summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_channel.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_channel.c4
1 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 b0d1ccff..5319b829 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
@@ -791,8 +791,8 @@ static int gk20a_channel_get_event_data_from_id(struct channel_gk20a *ch,
791 bool event_found = false; 791 bool event_found = false;
792 792
793 nvgpu_mutex_acquire(&ch->event_id_list_lock); 793 nvgpu_mutex_acquire(&ch->event_id_list_lock);
794 list_for_each_entry(local_event_id_data, &ch->event_id_list, 794 nvgpu_list_for_each_entry(local_event_id_data, &ch->event_id_list,
795 event_id_node) { 795 gk20a_event_id_data, event_id_node) {
796 if (local_event_id_data->event_id == event_id) { 796 if (local_event_id_data->event_id == event_id) {
797 event_found = true; 797 event_found = true;
798 break; 798 break;