Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp444124pxf; Wed, 24 Mar 2021 08:15:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzx2PCnFkQFKoMKFxxbtuEd04YruKmiJR3+t4dWi5cS3XuLs/dYj9sAy4fkphQG0UHLZuVH X-Received: by 2002:a05:6402:5211:: with SMTP id s17mr3961981edd.327.1616598911174; Wed, 24 Mar 2021 08:15:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616598911; cv=none; d=google.com; s=arc-20160816; b=JxR5/vg0MF4TSLs3bTw+9SJzA+iBhxjMEqjdl4I80wSRQWp0Q00hGh291O4WSDyTmJ ouDNStPqdGWg0o/J9GuWJWSHKxVYRF7wtbnQthqt8jDnWJFCbNv6k0s5REZ1Wq4NfIcX nFWKTTlZ9jzM27FYD1uLR4j574Z/HOJCKCp+uThbAliUBFDK+Htf5TPxQxbONIpmyWWM 0JzfthrYp/ovxwG07MM81hPPkuo7qKN5mq5NOw1MUKpADmFnKwJH82XjhSumMNYTBTKT yU7hMD6mr6DTxbr3pbTKTpQ8YHxjkX0ApH27sdzVodOw8JWcfkR5/g7KlwKxSPQBBmWw BCBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=L8CGCu683ap3F7hcKSeSmXZu53NqyU2bsVETlec1vPY=; b=ZpkD9S1gbPTYchLY3SpN4PuXnQ0vf1+oO1iuJ9YjPUYebO0atZmDmWQI8rYROGNHH/ 00s/aMddzRYDa0rFAjBumb7HGJaD97HtEZT2oh+ba8MDCrX44hSN1FjROedeTvKRajiK Q2WytbFPuUvB6CncQOVDIPN7ES/TV9sMDxz+KocHdHfTQdXzb7qKa/lBWoB9etBJaIrU yn55AFPscaOPUi49X6CIz/p1/AwLcpd9wWjjAGNmSLEYRUuuyCNfGijmbi3MoWpWrgdN aJImbV53CVQQGH0jdueuWko1HEi+WvkS38HXVS/TTPCCDmRAxLhA6n/YMKLAhMibE2xs OlLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Bgi5a04h; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d3si1878687eds.83.2021.03.24.08.14.47; Wed, 24 Mar 2021 08:15:11 -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=Bgi5a04h; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236497AbhCXPMn (ORCPT + 99 others); Wed, 24 Mar 2021 11:12:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236507AbhCXPMd (ORCPT ); Wed, 24 Mar 2021 11:12:33 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBBB8C061763 for ; Wed, 24 Mar 2021 08:12:32 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id h20so8097893plr.4 for ; Wed, 24 Mar 2021 08:12:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=L8CGCu683ap3F7hcKSeSmXZu53NqyU2bsVETlec1vPY=; b=Bgi5a04hjuwBhd4sezqjdOw3l2MpVDQReCtu5al6yx/kbKVgtebwvuacrAtD4t8S5O Vg0DTfLNHUaHbursO58xzcS5gU2KXddaOVEBBO81pXIqShe7JseJX13Tkv2PQLnPtsQN h13OHoYpINkNIt8LnZNh7GIrWvt+L5u6zLW2wawponkCOATN78ABAQxoiXGj8WCt6HPf YHovZbRswV7FOlM2he0HfycUXMHfntbT1DBWlIStq9oYVJZDNbQLcPmTRaT+LUfTzUL3 fgyOIwfgfq+383iAD/kt5rM2tCGab4b7oAtX9Hjt9SWHKCIH/zeAPn8lO2UQxq0M8kvt dzEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=L8CGCu683ap3F7hcKSeSmXZu53NqyU2bsVETlec1vPY=; b=R+D+asGuC2T8kDZ9QXBpFDDw6DrGoxHg+/QHDfVQ+WbWMP/zt+UinMCXoqau5ZlRC/ phOuvoHnwMIk9sJZQbyoase9kRGT9syA/0nr1ftphw0de+tIFeBLXPnp9G0BNPL9+gZt kkzUEPk6OkiE6JZQdp37NHKgyx603zMROFsH79I0iKdsKgmdwpuCIq7U+JhQUGW8WKAP VMIzD9EbcEOOoPtvy3JLsrHdKNMiDG+tGXzx9LwZH+6CxB3b4Wu0Xnu3YgrJbwwrQl7A h0mIUagXq1hMl6E4h1Hew9rIVNDb/5fah8o2S1U1VXuAZ99taF7xJukVmAcyYxvncAnq 0ojQ== X-Gm-Message-State: AOAM530thf2iOjf1TgoUZTZUQAdzwge9XqELwkbHnDis+6UG6qPnSvXR tiP1hsBDus8JAU+U7r0UD5k= X-Received: by 2002:a17:903:4112:b029:e5:f79d:3eb1 with SMTP id r18-20020a1709034112b02900e5f79d3eb1mr4170507pld.48.1616598752488; Wed, 24 Mar 2021 08:12:32 -0700 (PDT) Received: from google.com ([2620:15c:211:201:7dfa:1e53:536:7976]) by smtp.gmail.com with ESMTPSA id y20sm2985105pfo.210.2021.03.24.08.12.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Mar 2021 08:12:31 -0700 (PDT) Sender: Minchan Kim Date: Wed, 24 Mar 2021 08:12:29 -0700 From: Minchan Kim To: Dmitry Osipenko Cc: Andrew Morton , linux-mm , LKML , gregkh@linuxfoundation.org, surenb@google.com, joaodias@google.com, jhubbard@nvidia.com, willy@infradead.org Subject: Re: [PATCH v6] mm: cma: support sysfs Message-ID: References: <20210324010547.4134370-1-minchan@kernel.org> <3d90177b-e143-03b9-0f78-77740690266f@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3d90177b-e143-03b9-0f78-77740690266f@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 24, 2021 at 03:33:07PM +0300, Dmitry Osipenko wrote: > 24.03.2021 04:05, Minchan Kim пишет: > > +static struct kobject *cma_kobj_root; > > This should be a local variable. Sure. > > > +static struct kobj_type cma_ktype = { > > + .release = cma_kobj_release, > > + .sysfs_ops = &kobj_sysfs_ops, > > + .default_groups = cma_groups > > I'd add a comma to the end, for consistency. Yub.