diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2014-12-10 22:07:20 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-01-22 05:14:56 +0300 |
commit | 495b21761a4bf50c0453766ed8fdcfed075d43ff (patch) | |
tree | 15ea344cbb4f09b964a7611d4869cfb3ed09fe01 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 2474ae294260e9a3172c99a3c2b41d84e95644fc (diff) | |
download | linux-495b21761a4bf50c0453766ed8fdcfed075d43ff.tar.xz |
drm/nouveau: sgdma: add comment around suspiscious error handler
Common programming sense dictates that resources allocated by a function
are freed by this function should it fails, but this is not the case for
the allocated structure of nouveau_sgdma_create_ttm(). It seems that
n00b contributors attempt to fix this one like bugs flying towards a bug
zapper, so add a comment to hopefully prevent this from happening
anymore.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions