diff options
author | Ninad Malwade <nmalwade@nvidia.com> | 2010-03-08 11:48:25 +0530 |
---|---|---|
committer | Gary King <gking@nvidia.com> | 2010-03-08 09:59:55 -0800 |
commit | 3cb112b319306cd993cb421577035c03be05723a (patch) | |
tree | c43e90d60b5f7e7c1a426d05d17b1efa51c74430 /drivers | |
parent | 227af643e6253e9a5c2a2f74468f855686c44117 (diff) |
tegra: Commenting the error prints for memory pin/Unpin functions
- On behalf of Gautam Moharir
- Bug 660462
Change-Id: I66e22e247ce5df6135f31c75ae91ec5d0b11e666
Reviewed-on: http://git-master/r/792
Reviewed-by: Ninad Malwade <nmalwade@nvidia.com>
Tested-by: Ninad Malwade <nmalwade@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Gary King <gking@nvidia.com>
Tested-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/nvmap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/nvmap.c b/drivers/char/nvmap.c index c7f1cc44c5b6..2391d1803dd1 100644 --- a/drivers/char/nvmap.c +++ b/drivers/char/nvmap.c @@ -1502,11 +1502,11 @@ static int _nvmap_do_global_unpin(unsigned long ref) return 0; } - pr_err("%s: %s unpinning %s's %uB %s handle without local context\n", + /*pr_err("%s: %s unpinning %s's %uB %s handle without local context\n", __func__, current->group_leader->comm, (h->owner) ? h->owner->comm : "kernel", h->orig_size, (h->heap_pgalloc && !h->pgalloc.contig) ? "iovmm" : - (h->heap_pgalloc) ? "sysmem" : "carveout"); + (h->heap_pgalloc) ? "sysmem" : "carveout");*/ w = _nvmap_handle_unpin(h); _nvmap_handle_put(h); @@ -1567,10 +1567,10 @@ static int _nvmap_do_pin(struct nvmap_file_priv *priv, ret = -EPERM; else if (r) atomic_inc(&r->pin); else { - pr_err("%s: %s pinning %s's %uB handle without " + /*pr_err("%s: %s pinning %s's %uB handle without " "local context\n", __func__, current->group_leader->comm, - h[i]->owner->comm, h[i]->orig_size); + h[i]->owner->comm, h[i]->orig_size);*/ } } |