Thread (13 messages) read the whole thread 13 messages, 3 authors, 2017-08-31

Re: [PATCH 3/5] qtnfmac: modify qtnf_map_bar not to return NULL

From: Igor Mitsyanko <hidden>
Date: 2017-08-30 02:13:40

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 <redacted>
---
On a first glance not immediately obvious what is logically changed 
here, is it so that pr_debug() would not print NULL pointer?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help