From: Geert Uytterhoeven Date: Wed, 20 Aug 2014 13:26:35 +0000 (+0200) Subject: devres: Improve devm_kasprintf()/kvasprintf() support X-Git-Tag: fixes-for-v3.18-merge-window~13^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bef59c5024be687ef4f228915af9961307a779ab;p=pandora-kernel.git devres: Improve devm_kasprintf()/kvasprintf() support - Add devm_kasprintf()/kvasprintf(), introduced by commit 75f2a4ead5d5890ada9c2663a70fb58613c0d9f2 ("devres: Add devm_kasprintf and devm_kvasprintf API"), to Documentation/driver-model/devres.txt, - Improve kernel doc: the string is not an existing formatted string, but is formatted into the newly-allocated buffer, - Add a __printf() annotation to devm_kasprintf(), so the compiler will verify the format string argument types. Signed-off-by: Geert Uytterhoeven Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed