diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-06 13:55:48 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-10 22:04:20 -0400 |
commit | 57d624f900896a257e2e918e93e99a14f734aea5 (patch) | |
tree | 7c2f76516baad4d1d9acec583817fe4beee63bb2 /drivers/gpu/nvgpu/gp10b/fifo_gp10b.c | |
parent | 3ba374a5d94f8c2067731155afaf79f03e6c390c (diff) |
gpu: nvgpu: gp10b: Use new error macros
gk20a_err() and gk20a_warn() require a struct device pointer,
which is not portable across operating systems. The new nvgpu_err()
and nvgpu_warn() macros take struct gk20a pointer. Convert code
to use the more portable macros.
JIRA NVGPU-16
Change-Id: I8dc0ddf3b6ea38af6300c27558b60786c163da6d
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1457344
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/fifo_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/fifo_gp10b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/fifo_gp10b.c b/drivers/gpu/nvgpu/gp10b/fifo_gp10b.c index b305b895..f7f62599 100644 --- a/drivers/gpu/nvgpu/gp10b/fifo_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/fifo_gp10b.c | |||
@@ -228,7 +228,7 @@ static void gp10b_device_info_data_parse(struct gk20a *g, u32 table_entry, | |||
228 | gk20a_dbg_info("device info: fault_id: %d", *fault_id); | 228 | gk20a_dbg_info("device info: fault_id: %d", *fault_id); |
229 | } | 229 | } |
230 | } else | 230 | } else |
231 | gk20a_err(g->dev, "unknown device_info_data %d", | 231 | nvgpu_err(g, "unknown device_info_data %d", |
232 | top_device_info_data_type_v(table_entry)); | 232 | top_device_info_data_type_v(table_entry)); |
233 | } | 233 | } |
234 | 234 | ||