On 08/29/2017 05:16 AM, Sergey Matyukevich wrote:
NULL is not a special type of success here but a error pointer. So it makes sense to check against NULL in qtnf_map_bar and return error code. Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@xxxxxxxxxxxxx> ---
On a first glance not immediately obvious what is logically changed here, is it so that pr_debug() would not print NULL pointer?