diff options
author | Sourab Gupta <sourabg@nvidia.com> | 2017-12-20 05:46:45 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-08 11:45:40 -0500 |
commit | 3f4919ef327c6b4fb5ba517dbae5ca658a850dcb (patch) | |
tree | 5aa823b902d1726587ebfa8fcbe9e07d379e5c99 /drivers/gpu/nvgpu | |
parent | 7129291a81236e3c7ef20b7b9f1ab5129a92cff9 (diff) |
gpu: nvgpu: replace pr_err with nvgpu_err
Replace the linux specific pr_err with nvgpu_err function
Change-Id: I856a3030c62009b078a8cdfc0050b541a66e6eaa
Signed-off-by: Sourab Gupta <sourabg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1626400
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@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>
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index b6543dca..3fe119d7 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -141,7 +141,7 @@ int gk20a_channel_get_timescale_from_timeslice(struct gk20a *g, | |||
141 | 141 | ||
142 | /* time slice register is only 18bits long */ | 142 | /* time slice register is only 18bits long */ |
143 | if ((value << shift) >= 1<<19) { | 143 | if ((value << shift) >= 1<<19) { |
144 | pr_err("Requested timeslice value is clamped to 18 bits\n"); | 144 | nvgpu_err(g, "Requested timeslice value is clamped to 18 bits\n"); |
145 | value = 255; | 145 | value = 255; |
146 | shift = 10; | 146 | shift = 10; |
147 | } | 147 | } |