Re: [PATCH] drm/omap: dss: do not allow devm_kasprintf() to fail

2018-11-23 Thread Laurent Pinchart
Hello Nicholas, On Friday, 23 November 2018 14:01:35 EET Nicholas Mc Guire wrote: > omapdss_display_init() is called by multiple drivers and does not expect > a return value so without changing all call-sites the low-probability > failure of devm_kasprintf() can not be reported up the call stack.

[PATCH] drm/omap: dss: do not allow devm_kasprintf() to fail

2018-11-23 Thread Nicholas Mc Guire
omapdss_display_init() is called by multiple drivers and does not expect a return value so without changing all call-sites the low-probability failure of devm_kasprintf() can not be reported up the call stack. As the amount allocated here is very small (<= 16 bytes) and it is an initialization func