Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1804723imm; Sat, 11 Aug 2018 23:43:51 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxZybJIOcupdx160e46k/cpv9+/NaohGDYEYdZ1LjAOHK8oePtTqPpSZHGjxwq1fxasdw2g X-Received: by 2002:a63:380d:: with SMTP id f13-v6mr12443809pga.124.1534056231690; Sat, 11 Aug 2018 23:43:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534056231; cv=none; d=google.com; s=arc-20160816; b=GI8G3lKc4xxwzHstMeeGurULZQD5ZfB5GeBqkQBstxn43/lU6BfggQFFvFx2xX1uu1 Jmyf4wLagmZJ2liLqiuYbc+2tNwQuXnocgx33R2nkJ18MHNpQ6o9IXzPXSvS7iJ89ZLD Jl92HqZtoZ3e2ioPiRokoMTDpg2wtiohdtBQXrwq6wwFyuvBPLsj7dMyGAAIkeq9FNIH 7cJHEVVeDeRnMurvRncM3tO2Agc00KwuvYWJiionXJX2gDVJ1eVe21pQOEbXfHxfH2xr nH6IfuDYA7qU0W1iP2906n5+MSOx07ZImhqMjceOuXRWvqxx+ToMMgHLNtjNrFmBWNjZ KOEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Vwuw0rWz6rQAinZ15PFI3N7+jrQZ1OCwr3v213HiItA=; b=fiJ9XAnz8NA5dbVlIgVoX4dgxgcw4S41A2asvBKkW54fBTWS1coqD7UfvZZ/w71bzm lI7r6k+vUeXUkbhrx2rcabLOBaC2KjK5taJZ81+OuIg3dU4YXtPVqI9dqjeulVSeQkeJ EXHnCBIELsGWuX4hAu5hPaDyz55A2iB61wVJ2h4wkMEfg8MESQ48+LkGuE0Y4PwW3/qs 9aDp49j7FxgHk81OXlBz6QSR1cGCTLMwhEQhu9WV3VIMoDhDHIv/BEMvYKrxKye+E7Jp rrCQkq91A9QfWLXIN5TM8q8DL/u281C4NDJGAlNMMRsSPLQ9cndN3I4YgNAT1v4BRyx4 tAyw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l26-v6si13193753pfo.325.2018.08.11.23.43.36; Sat, 11 Aug 2018 23:43:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727729AbeHLJQa (ORCPT + 99 others); Sun, 12 Aug 2018 05:16:30 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:42706 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726773AbeHLJQa (ORCPT ); Sun, 12 Aug 2018 05:16:30 -0400 Received: from localhost (unknown [194.244.16.108]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 5BF01941; Sun, 12 Aug 2018 06:39:34 +0000 (UTC) Date: Sun, 12 Aug 2018 08:39:31 +0200 From: Greg Kroah-Hartman To: Sumit Kumar Cc: Rob Springer , John Joseph , Ben Chan , linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: gasket: remove null ptr check before kfree Message-ID: <20180812063931.GC30798@kroah.com> References: <20180811214753.GA14868@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180811214753.GA14868@ubuntu> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 12, 2018 at 03:17:53AM +0530, Sumit Kumar wrote: > Remove null ptr check before kfree because kfree is null ptr safe. > Issue found by checkpatch. > > Signed-off-by: Sumit Kumar Do not use fake email addresses in a signed-off-by line :(