From mboxrd@z Thu Jan 1 00:00:00 1970 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=-15.2 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 3B091C433DB for ; Fri, 12 Feb 2021 10:22:42 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id C130764E57 for ; Fri, 12 Feb 2021 10:22:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C130764E57 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 4EDE18D003B; Fri, 12 Feb 2021 05:22:41 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 4A0388D0015; Fri, 12 Feb 2021 05:22:41 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 33F908D003B; Fri, 12 Feb 2021 05:22:41 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0071.hostedemail.com [216.40.44.71]) by kanga.kvack.org (Postfix) with ESMTP id 1AC178D0015 for ; Fri, 12 Feb 2021 05:22:41 -0500 (EST) Received: from smtpin25.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id D0FF6180AD820 for ; Fri, 12 Feb 2021 10:22:40 +0000 (UTC) X-FDA: 77809226880.25.4C5A2A0 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by imf27.hostedemail.com (Postfix) with ESMTP id 35F5680192C0 for ; Fri, 12 Feb 2021 10:22:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1613125359; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=r4CbtXLdEFF6nW7YkQkQgLv+lYmFaX3damrF89lHHB8=; b=cJF/a69j8D+6nraOBKr2ewjuN9RM2Nn8REjdeiFV9FM2pZQ2mGDEtzxxEAHymPbHLfaJ8h C1UxlVIpeDnl53XyeSXPSszGdXnGSKHzH62/wjwNoxjx1KlxpayKhG5CDMFfd0XggkGsVk dEBuUd41YcHBvJ6MXR8xci2AMMDH5m0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-571-JO9ONT6qOS2ulcwdPpnldg-1; Fri, 12 Feb 2021 05:22:37 -0500 X-MC-Unique: JO9ONT6qOS2ulcwdPpnldg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4425A8799E0; Fri, 12 Feb 2021 10:22:36 +0000 (UTC) Received: from [10.36.114.178] (ovpn-114-178.ams2.redhat.com [10.36.114.178]) by smtp.corp.redhat.com (Postfix) with ESMTP id DC63410016F9; Fri, 12 Feb 2021 10:22:34 +0000 (UTC) Subject: Re: This reply comments on the patch to fixes the missing a blank line warning From: David Hildenbrand To: Adithya Chandrakasan , akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org References: <20210211072918.376837-1-adithya.chandrakasan@gmail.com> <3512c272-dbec-2c0a-4476-203315341fe2@gmail.com> <35cbe08d-6c29-c904-1402-de18b787c5b0@redhat.com> Organization: Red Hat GmbH Message-ID: <0192c01f-4f90-7a58-ce12-b753495fec8c@redhat.com> Date: Fri, 12 Feb 2021 11:22:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <35cbe08d-6c29-c904-1402-de18b787c5b0@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Stat-Signature: hugx99yzzyxf6thhkazwk1odod7ojffz X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 35F5680192C0 Received-SPF: none (redhat.com>: No applicable sender policy available) receiver=imf27; identity=mailfrom; envelope-from=""; helo=us-smtp-delivery-124.mimecast.com; client-ip=216.205.24.124 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1613125359-31210 Content-Transfer-Encoding: quoted-printable 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: On 12.02.21 11:14, David Hildenbrand wrote: > On 11.02.21 19:20, Adithya Chandrakasan wrote: >> On 2/11/21 2:36 AM, David Hildenbrand wrote: >>> ^ >>> >>> Please create proper patch subjects. Nobody has a glue what you are d= oing when looking at the subject. >>> >>> "mm/util: fix ??? warning" >>> >>> Which raises the question, what is ??? >>> >>> Compiler? static code checker? ... ? >>> >=20 >=20 >=20 >>> >>> Thanks >>> >>> On 11.02.21 08:29, Adithya Chandrakasan wrote: >>>> FILE: mm/util.c:930: WARNING: Missing a blank line after declaration= s >>>> >>>> Signed-off-by: Adithya Chandrakasan >>>> --- >>>> =A0=A0 mm/util.c | 1 + >>>> =A0=A0 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) >>>> =A0=A0=A0=A0=A0=A0 unsigned int len; >>>> =A0=A0=A0=A0=A0=A0 struct mm_struct *mm =3D get_task_mm(task); >>>> =A0=A0=A0=A0=A0=A0 unsigned long arg_start, arg_end, env_start, en= v_end; >>>> + >>>> =A0=A0=A0=A0=A0=A0 if (!mm) >>>> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 goto out; >>>> =A0=A0=A0=A0=A0=A0 if (!mm->arg_end) >>>> >>> >>> >> Hi David, >> >> Thanks for feedback. I have fixed the issues in the patch thread with >> change in subject and also log message. >=20 > Hi, >=20 > Please always send patches via proper mails and versioned. >=20 > E.g., >=20 > rm *.patch > git format-patch -1 -v2 > git send-email --to ... *.patch >=20 >=20 > The introducing patch is from 2014. So I wonder how you even get a > checkpatch warning? >=20 > a90902531a06a ("proc read mm's {arg,env}_{start,end} with mmap semaphor= e > taken.") Sorry wrong pointer, it's from 2014 a90902531a06 ("mm: Create utility function for accessing a tasks=20 commandline value") --=20 Thanks, David / dhildenb