diff options
Diffstat (limited to 'device_info_procfs.c')
| -rw-r--r-- | device_info_procfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/device_info_procfs.c b/device_info_procfs.c index 1fc0586..5fc417f 100644 --- a/device_info_procfs.c +++ b/device_info_procfs.c | |||
| @@ -57,7 +57,7 @@ static void* device_info_file_seq_next(struct seq_file *s, void *idx, | |||
| 57 | static int device_info_file_seq_show(struct seq_file *s, void *idx) { | 57 | static int device_info_file_seq_show(struct seq_file *s, void *idx) { |
| 58 | ptop_device_info_t curr_info; | 58 | ptop_device_info_t curr_info; |
| 59 | struct nvdebug_state *g = &g_nvdebug_state[seq2gpuidx(s)]; | 59 | struct nvdebug_state *g = &g_nvdebug_state[seq2gpuidx(s)]; |
| 60 | 60 | ||
| 61 | curr_info.raw = nvdebug_readl(g, NV_PTOP_DEVICE_INFO(*(int*)idx)); | 61 | curr_info.raw = nvdebug_readl(g, NV_PTOP_DEVICE_INFO(*(int*)idx)); |
| 62 | // Check for read errors | 62 | // Check for read errors |
| 63 | if (curr_info.raw == -1) | 63 | if (curr_info.raw == -1) |
