From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933336AbdEOK4J (ORCPT ); Mon, 15 May 2017 06:56:09 -0400 Received: from mail.eperm.de ([89.247.134.16]:59584 "EHLO mail.eperm.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755657AbdEOK4I (ORCPT ); Mon, 15 May 2017 06:56:08 -0400 From: Stephan =?ISO-8859-1?Q?M=FCller?= To: Julia Lawall Cc: linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, "Jason A. Donenfeld" , kbuild-all@01.org Subject: Re: [PATCH] fix ptr_ret.cocci warnings Date: Mon, 15 May 2017 12:56:03 +0200 Message-ID: <3264235.RsN660BRO6@tauon.chronox.de> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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