From: Oded Gabbay Date: Mon, 12 Jan 2015 20:34:21 +0000 (+0200) Subject: drm/amdkfd: Don't BUG on freeing GART sub-allocation X-Git-Tag: fixes-v4.0-rc1~91^2~38^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9216ed294053be68a673754a0f8da88aa7fb7941;p=pandora-kernel.git drm/amdkfd: Don't BUG on freeing GART sub-allocation Instead of creating a BUG if trying to free a NULL GART sub-allocation object, just return 0 (success). This is done to mirror behavior of kfree. Signed-off-by: Oded Gabbay --- Reading git-diff-tree failed