Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2021989imm; Sun, 12 Aug 2018 05:06:44 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxziDR74SwLm3ap04Wqlttd+f4YKnxTLMPstlCBKT0SYhN388x2KKKp21l4LDDpedc5v0iu X-Received: by 2002:a62:6b44:: with SMTP id g65-v6mr14681385pfc.226.1534075604056; Sun, 12 Aug 2018 05:06:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534075604; cv=none; d=google.com; s=arc-20160816; b=zWq/PISveLOysToUlqPT2YMRSsQnWL9McwO0OtuTOWg7DgeQyLBHFRJ9WP7QBL/Qtw iQDd6qpI3e6YJcNysM5zVFt319TM0OIlogCebNAlp/IAdTyJsxUNcplEr7CYgnyzBHdv VTTSDmia/yqgfm5Jg+M9A9d4O2GV2XVltfrYdFO73UXwRbJgdXlLdXBwcJPExjmW91pS iRB/hFmiv23dQWbvC6QMeaqvQ7M9EhikKmFQkJI/yWeliMTqtYmBkDVqSB7RALqd/hk4 q1DECSn2fC+OAC0AipEOiy0zo1q7PiD+aoTyRg3mtNgKnzafewsm4qCWd+TNS8pHtdw9 MXVA== 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:dkim-signature:arc-authentication-results; bh=CsLpNdu66XgC81HZa7qm12NGo47wYkuQBz9+oCM2M8o=; b=UpBTmgh4hkAc75cEpu7s+xE9x61mUVLfwGpSTgwO8IrDLg96AXWWMgbJskVHEZZRox jUwOX2driLoxjiiA1fwE2KS6JrnUKG9yRBu1gcligURoupXyb8vfemKLTeV25rEyiH13 +FV6jtyZSOmjwBJ6/jY8qVQSg2ELpBKjqhG/hwQ4x19FsUPYLWLVeefAEkpisK7xTL5V ZLmUqLXfsVkQ3a77XUBxl59dJTgba6auxzBDsnOvbAUvyhrBBPzllWvJMdG843oANwWQ XyIPcWY8uMrcQto/BJKSmrUHxVKGW8Q5B060LgVFYVF+kT8j2JRZpXvNwCH/PEw4qCyL EvBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Q8YpFas7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a1-v6si13962511pfd.273.2018.08.12.05.06.29; Sun, 12 Aug 2018 05:06:44 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Q8YpFas7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728002AbeHLOl3 (ORCPT + 99 others); Sun, 12 Aug 2018 10:41:29 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:35410 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727762AbeHLOl3 (ORCPT ); Sun, 12 Aug 2018 10:41:29 -0400 Received: by mail-pg1-f193.google.com with SMTP id w10-v6so6330338pgv.2 for ; Sun, 12 Aug 2018 05:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=CsLpNdu66XgC81HZa7qm12NGo47wYkuQBz9+oCM2M8o=; b=Q8YpFas7B1wrJ5g7IMgh+HV8bOPY0cOh+M5jRXucpU/LCGugGjVBWA8TaIVSkW6boq Lo+EqSGBgK5V0Yp6cQli7fhLE/25v/7EGMdg3kmXYmX2Mo6WDotU2WmZA4HD1/XarcqZ nCQ50jBV4t5q7c0P4DcjyXyqip6I2NJeFxxhY63RVHX997CqauR01nsjj+fqoXtNTvIO ORT7InzxQuAOxM9nR+wlGLayGdocMnUHCpyIyYzSn2CAlhsMbYGHReA8hJ27KaSz1tNQ GWKlrTiH2SWQtHfLqf6LrdqnBfyXLrnZA4dvUnjGwYqs7rtr9pm93WtaOHy7c/zk2/ye td/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=CsLpNdu66XgC81HZa7qm12NGo47wYkuQBz9+oCM2M8o=; b=Rvg76/HHmLCv9hOo1oehEW0UbDuVzyrXHKqo+AYfK3SHYYQKgGDWSHtRXROnvLN1ND Hxlu4CptDRzIOsvKTpS+k+01BmAdeJW9pOLYjsYWpxP6KwhVELM7103nSGT1LLlkVbi1 IUvjmnX+WPsw2fL1BLvl94d/PLZgzC3VZRGu7jDDJb7pVtNCNDk4iig4ZUlPINXxsWCS MI8YvWGIzi5PnZIMdPVPa0kyJsa0oEfz8/PHaAa/WETY3bPC+gHDF5/gxx8bP7aDvLOK WUxNrgr99qMWgEGqLbMcH/RCX9ADTBQnKmwi0mzY+PZfe3R/CfJ1hHWZvHEkCOLt4TCb 0ErA== X-Gm-Message-State: AOUpUlEF5BANWq7w5SK02qNBrUmfqWTu1yhj+t8co79p1u95W3VdSwlo YOy8Z5Odifb8d8EVXVIU0rc= X-Received: by 2002:a63:9856:: with SMTP id l22-v6mr13421628pgo.208.1534075418811; Sun, 12 Aug 2018 05:03:38 -0700 (PDT) Received: from himanshu-Vostro-3559 ([103.233.116.134]) by smtp.gmail.com with ESMTPSA id h130-v6sm55030031pgc.88.2018.08.12.05.03.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 12 Aug 2018 05:03:38 -0700 (PDT) Date: Sun, 12 Aug 2018 17:33:31 +0530 From: Himanshu Jha To: Sumit Kumar Cc: Rob Springer , John Joseph , Ben Chan , Greg Kroah-Hartman , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: gasket: remove null ptr check before kfree Message-ID: <20180812120331.GA5913@himanshu-Vostro-3559> References: <20180812065837.GA20728@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180812065837.GA20728@ubuntu> User-Agent: Mutt/1.9.4 (2018-02-28) 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 12:28:37PM +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 Hmm. Victim of copy-paste I guess. No worries. Next time just use: $ git commit -s To understand what -s flag does, refer `man git commit`. > --- Now, this where you should have put versions just below the '---': v2: - corrected email address. And yes, the subject should be: "Subject: [PATCH v2] staging: gasket: remove null ptr check before kfree" https://www.kernel.org/doc/html/latest/process/submitting-patches.html#the-canonical-patch-format Hope that helps! -- Himanshu Jha Undergraduate Student Department of Electronics & Communication Guru Tegh Bahadur Institute of Technology