Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*\[PATCH\s+v2\]\s+netfilter\:\s+Clean\s+up\s+tests\s+if\s+NULL\s+returned\s+on\s+failure\s*$/: 7 ]

Total 7 documents matching your query.

1. Re: [PATCH v2] netfilter: Clean up tests if NULL returned on failure (score: 1)
Author: Jan Engelhardt <jengelh@xxxxxxx>
Date: Wed, 29 Mar 2017 11:33:54 +0200 (CEST)
Where does it say that? -- To unsubscribe from this list: send the line "unsubscribe lvs-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/maj
/html/lvs-devel/2017-03/msg00020.html (11,370 bytes)

2. Re: [PATCH v2] netfilter: Clean up tests if NULL returned on failure (score: 1)
Author: SIMRAN SINGHAL <singhalsimran0@xxxxxxxxx>
Date: Wed, 29 Mar 2017 14:45:57 +0530
Sorry their is typing mistake in above. But, according to me we should prefer !var over ( var ==NULL ) according to the coding style -- To unsubscribe from this list: send the line "unsubscribe lvs-d
/html/lvs-devel/2017-03/msg00019.html (13,321 bytes)

3. Re: [PATCH v2] netfilter: Clean up tests if NULL returned on failure (score: 1)
Author: SIMRAN SINGHAL <singhalsimran0@xxxxxxxxx>
Date: Wed, 29 Mar 2017 14:19:31 +0530
Thanks for the explaination!!!! But, according to me we should prefer != NULL over ==NULL according to coding style. -- To unsubscribe from this list: send the line "unsubscribe lvs-devel" in the bod
/html/lvs-devel/2017-03/msg00018.html (12,266 bytes)

4. Re: [PATCH v2] netfilter: Clean up tests if NULL returned on failure (score: 1)
Author: Jan Engelhardt <jengelh@xxxxxxx>
Date: Wed, 29 Mar 2017 08:55:15 +0200 (CEST)
The ==NULL/!=NULL part sort of ensures that the left side is a pointer, which is lost when just using the variable and have it implicitly convert to bool. -- To unsubscribe from this list: send the l
/html/lvs-devel/2017-03/msg00017.html (11,635 bytes)

5. Re: [PATCH v2] netfilter: Clean up tests if NULL returned on failure (score: 1)
Author: SIMRAN SINGHAL <singhalsimran0@xxxxxxxxx>
Date: Tue, 28 Mar 2017 21:53:30 +0530
Sorry, but I didn't get what you are trying to convey. And particularly pros and cons of both variants. -- To unsubscribe from this list: send the line "unsubscribe lvs-devel" in the body of a messag
/html/lvs-devel/2017-03/msg00014.html (11,110 bytes)

6. Re: [PATCH v2] netfilter: Clean up tests if NULL returned on failure (score: 1)
Author: Jan Engelhardt <jengelh@xxxxxxx>
Date: Tue, 28 Mar 2017 15:54:40 +0200 (CEST)
This kind of transformation however is not cleanup anymore, it's really bikeshedding and should be avoided. There are pro and cons for both variants, and there is not really an overwhelming number of
/html/lvs-devel/2017-03/msg00013.html (10,469 bytes)

7. [PATCH v2] netfilter: Clean up tests if NULL returned on failure (score: 1)
Author: simran singhal <singhalsimran0@xxxxxxxxx>
Date: Tue, 28 Mar 2017 18:43:40 +0530
Some functions like kmalloc/kzalloc return NULL on failure. When NULL represents failure, !x is commonly used. Signed-off-by: simran singhal <singhalsimran0@xxxxxxxxx> -- v2: -squash all the patches
/html/lvs-devel/2017-03/msg00011.html (20,782 bytes)


This search system is powered by Namazu