From: Alexandre Courbot Date: Wed, 10 Dec 2014 19:07:20 +0000 (+0900) Subject: drm/nouveau: sgdma: add comment around suspiscious error handler X-Git-Tag: fixes-v4.0-rc1~91^2~34^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=495b21761a4bf50c0453766ed8fdcfed075d43ff;p=pandora-kernel.git 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 Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed