Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1641535

Re: [PATCH] fix ptr_ret.cocci warnings

From Stephan Müller <smueller@chronox.de>
Newsgroups linux.kernel
Subject Re: [PATCH] fix ptr_ret.cocci warnings
Date 2017-05-15 13:00 +0200
Message-ID <tHlTk-72L-5@gated-at.bofh.it> (permalink)
References <tHlTk-72L-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Am Montag, 15. Mai 2017, 12:52:11 CEST schrieb Julia Lawall:

Hi Julia,

> Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
> 
> Generated by: scripts/coccinelle/api/ptr_ret.cocci

Thank you, included -- it will be present in the next release.

Ciao
Stephan

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] fix ptr_ret.cocci warnings Stephan Müller <smueller@chronox.de> - 2017-05-15 13:00 +0200

csiph-web