Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1648113pxf; Fri, 19 Mar 2021 12:01:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkk4iagAuo0DYHK/gxM2sa+HH9+C2ZN5AS3cOMUTAN277Opq4ukequH2cGwGNkO0adTz31 X-Received: by 2002:a17:906:4747:: with SMTP id j7mr5990637ejs.221.1616180518178; Fri, 19 Mar 2021 12:01:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616180518; cv=none; d=google.com; s=arc-20160816; b=ogxh/U7GjcSEiwo2Mds4Xsdow2MxKrgTcQK6iwr5Uo7BrOaxowSMYHM+s/gJevIW7u C5D9flGx+4j9AbslM4xbkhRAEGaBQFgIEy9gDNRuoROyUteL9u1OZJZY/dlSyPXRZxeS DsfIxmftF8fnAN+5IxD332jG1zSc1fzawQgkb4kbkkEnJWvm5arQcDmwOHT8+hdvoIve ps5SLuLmXsiUMb3vqC9NBFomoqoA+QCMTJifjqtQSPmoaEPtj9kOA3sWRYHsNwYPnHPc +3/ta2jVHxDHbFUbn0MXdDzNCTrhCB10PXSz2SNFcAmUVFUdBoNiuid2ThBUxjBfEOIt ARAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=upYBQNguiL04oAnOuIZVoxunH/QGosMTk93Yec7+Rbg=; b=TMyRu/YWbyDN9ndgB8+hECRJCLp0m/uIWCLi05GlTy/9rYaIqE1Eql0GMR66C/dyMA 7LCfjG+Plg+SJe8okJv4bE4QjTs2oZ84n8+O86yFGq4MTPpZuDimOFJaisERk/axRrBa 13lmogZdMMn0E5Iq2cn/SuMsiNzwF4D6qPoWES9kpoIOn6eJKREjF8JMJ5cL6ZBbbsQd 9Nnz7SWTCS2bbsB6lNib2MpgJFD8lDqoYBSx0ZuqhygKaBZk7Y+oFJED4URDViwCL0SO 3vG/eX/ysWz4BTLOtIo7W2NTITsLjlWdIzi27UbGXzuit5+DU0Me4yv2Ip758LL9v21h W5kQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=T6mohFpQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id cb21si5019405ejb.170.2021.03.19.12.01.34; Fri, 19 Mar 2021 12:01:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=T6mohFpQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230285AbhCSTAd (ORCPT + 99 others); Fri, 19 Mar 2021 15:00:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230391AbhCSTAY (ORCPT ); Fri, 19 Mar 2021 15:00:24 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43440C06174A; Fri, 19 Mar 2021 12:00:23 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id u20so13204729lja.13; Fri, 19 Mar 2021 12:00:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=upYBQNguiL04oAnOuIZVoxunH/QGosMTk93Yec7+Rbg=; b=T6mohFpQrPvDkTsnbhIZZTClnjt+wgrlDkN7EPqfVoRBeExZ0bweCm5hAVH1lmC5oH HfdbvZ3Am39pEy0irud+ZBabpuZ2Rbm0yi70vvi0OllOexkgQljG5ia3UF/M+GK/DhHO mgl1gmHh6LVtOVYvxLJ4Bsaj7AI3DygblXtJ6qG6qLuDrNGPvHLIYKPRUlTpT/X4JLRx t8GiNDJ0B0kz/Gogayji2Upnhq6uDsrubBhF4FzD84lglW13yusbMcPkk5CVyuBaK+xm xXArMEXdb4IcHLWKpjWLBkhsMIrVFd7rup8DGI1Zc+wRYYYwuSgGWMg00h0d88uNAQXp PQzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=upYBQNguiL04oAnOuIZVoxunH/QGosMTk93Yec7+Rbg=; b=dGiG69PKaD1GO34aachLG74LuxHNNBGBDDjmJyOF6BGn5+nsQPvZP6h1uwyqm42Ynr PlRCuEXqrbu7hV6GkeG0jGYgk0lRO9w6ZRI2cB6Ca4/nCeQAb4wgd8o5XdqoXtS7UayV Q0r/XSe6q/RxBQrFhrEbzG1pkJSdbK/6sPjZF8w5+suhlaGdhhXs68TwYwD+c7kOnuc2 xVmj2zKL1/juy6XtlpgD7mCi+1bX5ndrtln3KuaoIr8c4nKU01ezgZwNk9pZqAaqE0fE Eq/S1AXgIz08W5YrWq7g9ME4AMkLFXBdrltP3VLO38d7ci6a77JsNiKksaZ0M4yG7H6T UFrg== X-Gm-Message-State: AOAM531XBPvcbMN/la1OJ4c0axGgYDBoEesrMBs3k+T0/vb2G4Qs8fN2 8jdrrItkeIe8V9+Q+z2WHShUVZOhixk= X-Received: by 2002:a2e:98c5:: with SMTP id s5mr1735067ljj.218.1616180421079; Fri, 19 Mar 2021 12:00:21 -0700 (PDT) Received: from [192.168.2.145] (109-252-193-52.dynamic.spd-mgts.ru. [109.252.193.52]) by smtp.googlemail.com with ESMTPSA id f8sm715617lfs.143.2021.03.19.12.00.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Mar 2021 12:00:20 -0700 (PDT) Subject: Re: [PATCH v4] mm: cma: support sysfs To: Minchan Kim Cc: Greg Kroah-Hartman , Andrew Morton , linux-mm , LKML , joaodias@google.com, willy@infradead.org, david@redhat.com, surenb@google.com, John Hubbard , Nicolas Chauvet , "linux-tegra@vger.kernel.org" References: <33ec18ef-8652-643a-1a53-ff7c3caf4399@gmail.com> <78883205-e6da-5bc4-dcec-b6eb921567b1@gmail.com> <72db59eb-75dc-d1ed-7a83-17052e8f22a8@gmail.com> <82bde114-60c0-3fde-43f4-844522b80673@gmail.com> From: Dmitry Osipenko Message-ID: Date: Fri, 19 Mar 2021 22:00:20 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 19.03.2021 21:18, Minchan Kim пишет: >>> +#define CMA_ATTR_RO(_name) \ >>> + static struct kobj_attribute _name##_attr = __ATTR_RO(_name) >>> + >>> +static ssize_t alloc_pages_success_show(struct kobject *kobj, >>> + struct kobj_attribute *attr, char *buf) >> The indentations are still wrong. >> >> CHECK: Alignment should match open parenthesis > Hmm, I didn't know that we have that kinds of rule. > Maybe, my broken checkpatch couldn't catch it up. > Thanks. > > $ ./scripts/checkpatch.pl 0001-mm-cma-support-sysfs.patch > Traceback (most recent call last): > File "scripts/spdxcheck.py", line 6, in > from ply import lex, yacc > > > < snip > > That's probably because I use the --strict option of checkpatch by default.