From patchwork Thu Feb 11 07:29:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adithya Chandrakasan X-Patchwork-Id: 12082427 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04404C433E0 for ; Thu, 11 Feb 2021 07:29:25 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 7D75B64E05 for ; Thu, 11 Feb 2021 07:29:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7D75B64E05 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id BDDD56B0082; Thu, 11 Feb 2021 02:29:23 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B66C36B0083; Thu, 11 Feb 2021 02:29:23 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A2E4C6B0085; Thu, 11 Feb 2021 02:29:23 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0175.hostedemail.com [216.40.44.175]) by kanga.kvack.org (Postfix) with ESMTP id 894936B0082 for ; Thu, 11 Feb 2021 02:29:23 -0500 (EST) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 53BEF1EE6 for ; Thu, 11 Feb 2021 07:29:23 +0000 (UTC) X-FDA: 77805161406.21.woman14_3f0291e27616 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin21.hostedemail.com (Postfix) with ESMTP id 364FF180442C0 for ; Thu, 11 Feb 2021 07:29:23 +0000 (UTC) X-HE-Tag: woman14_3f0291e27616 X-Filterd-Recvd-Size: 3423 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by imf32.hostedemail.com (Postfix) with ESMTP for ; Thu, 11 Feb 2021 07:29:22 +0000 (UTC) Received: by mail-pf1-f170.google.com with SMTP id 18so3186042pfz.3 for ; Wed, 10 Feb 2021 23:29:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IoDDbkA/vaVMnIhw4JfZZr78ZUSJQGF5SzLjqNA/02k=; b=AfYvwAFxBGw1L7iqcTOKb2C9mrdYp60863Zp9hiAKSst+SivGV97uPQnkZkXDPD/KB cOzdQzT4laOXT5vfDEx0OqIP7KxBD4a3pIQJdTtq9sXjCnWpX6R1U7r3NWcBM4lyqOEm TeKNWLn6ZUXodwlF/EL85swYXOF6h02a4Nym1oVshFWM9sZ4WPhkQ8Z5fp3vFOONaSXw bUaGwHWIRj+gITfaPwhgIf09ERFtclYoRDZmSL19yjfqm2BhhuTQK/KSaJY6RBTwPPqJ GusSVYjtiDgp/YEsmQX55SHDd65KMnwc/Ljqz0yv+VZGbxTh1aP4GauftSYVcPHdtw4Y H78g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IoDDbkA/vaVMnIhw4JfZZr78ZUSJQGF5SzLjqNA/02k=; b=lIMKqplxEl3fr/sJwNSFCIUhMEPtUsS+DgaLqlvpLgnWdNb0v4/LAEkgVJ3xAwAm4Y WJYBqfVeP2lv5lGr6Pq+qhWCFocFy8iwtfVkf/VICV7f5uVDibZ8+lJRBwiYV3ZEfSxm +CAtE46cQnaa3GSDBV4/K3YmYlygdkU0iw8axvh10l99r8QlXotfv4H1MpZQdJB8dJdt GR8HcqLGucNdcnML3qybBo5KtcntsI5O5BlhxWv48znKdHq+5ie404aaTqxJQkdZxjOH G4U9xUyV9aaMWPNyrXX3gQf08SaaPJI40VY0TgZboW1IpJ8mpm3FpVp8X4N27vXUxhdD bTKQ== X-Gm-Message-State: AOAM533hHWeAC9CKxpk3qjjvDwT4KdHbhz6H3fvfgqcxct/pQxFwmfoT jIOWFQaDWd/tjZOSu2mtu7Q= X-Google-Smtp-Source: ABdhPJweZgGWWflwwkOY5Zk3zlAcE2Qnmnuh80XdqSlaeYlRF5IALhiKLwUY/lzK9tTSrANZ/0hz3Q== X-Received: by 2002:a65:620f:: with SMTP id d15mr6771122pgv.218.1613028561862; Wed, 10 Feb 2021 23:29:21 -0800 (PST) Received: from localhost ([2601:1c0:6c02:1d30:195b:5ddb:5efc:9045]) by smtp.gmail.com with ESMTPSA id cq2sm4059864pjb.55.2021.02.10.23.29.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Feb 2021 23:29:21 -0800 (PST) From: Adithya Chandrakasan To: akpm@linux-foundation.org Cc: Adithya Chandrakasan , linux-mm@kvack.org, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org Subject: [PATCH] The Patch fixes the missing a blank line warning Date: Wed, 10 Feb 2021 23:29:18 -0800 Message-Id: <20210211072918.376837-1-adithya.chandrakasan@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: FILE: mm/util.c:930: WARNING: Missing a blank line after declarations Signed-off-by: Adithya Chandrakasan Signed-off-by: Adithya Chandrakasan --- mm/util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/util.c b/mm/util.c index 8c9b7d1e7c49..60286876636d 100644 --- a/mm/util.c +++ b/mm/util.c @@ -927,6 +927,7 @@ int get_cmdline(struct task_struct *task, char *buffer, int buflen) unsigned int len; struct mm_struct *mm = get_task_mm(task); unsigned long arg_start, arg_end, env_start, env_end; + if (!mm) goto out; if (!mm->arg_end)