Received: by 2002:a05:6a10:5594:0:0:0:0 with SMTP id ee20csp39046pxb; Mon, 25 Apr 2022 05:24:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzB2eG7tLoYAU4HbG1RAm3t10Fk8B2wrGe0RFehc1qLPLk+pWxEd3rDVNYA4VHvC4fb5NW2 X-Received: by 2002:a17:90b:1b4f:b0:1d2:a09e:1fc6 with SMTP id nv15-20020a17090b1b4f00b001d2a09e1fc6mr31042035pjb.147.1650889459876; Mon, 25 Apr 2022 05:24:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650889459; cv=none; d=google.com; s=arc-20160816; b=fBIN8Fq7oU9EV7sXzt+FBOHTycaUKxFI3ctBQ4OoA0Wh4J2wEwYCnit28HI3w5kHR/ BcC/cLloY8DL8ypIjRebiVtHP6cmS7EY3q/Od041rHZGZw1ynh6wQFAEQ9VaJvhEfoPU aeeaN2fa0sVuC3guWUxopyXN3m6T6jRJcEyViKIA5iB44ZFO7Fpu5KuVrc3OldSUOO0e i7ncp/LDjicHyD+JgP3tq/FPAowQ6KpqqluzNl3MqkgetENVxT4FjXCpyOk/s3AY4nTX mYpNlslwfE4MA69/JdU10cKRJd8tjdOAfP1s9QHyp+bIktjfXmiAO65ratVVVHqh6TVI ixfg== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=i86FVqThQBACMnKmzxTZYyYhQk91L6sZ3MW2wyirS0M=; b=MtcLlawFFhm5vkPHp72E/Ez/4s/49ggsgqIQWyt2jfRl9j2BPCoYkFOh9ecG5XeCZ4 iQJLmhrQGaL5aeBDlIuMLaBCwqBj1/wwB5rCesd3fN+PZp+YXJv7PWCBUNyHxQw0LBf7 KfMiXqsMIIKjcnIw1mbmsxozI2OaUbRUtS+zdAYZFJdhfY4HXFK0yaoY7SQ4bpOhnwbI ywMFJ3vPjNDruSevfsv65B8gCLAH2eb9gpbK9uFn8kP6PW23ZfzfjorTLA5mYWoz6kIQ IYX+X4WNE9fScvEGJ/EXju+xhsoNaGbiBuQ/l55oY8Gq1YZcjJVwJMGLepwNzM+DY3Dr HR2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=Ra6JWuLZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w19-20020a63fb53000000b003aa619b8bb2si15609456pgj.294.2022.04.25.05.24.02; Mon, 25 Apr 2022 05:24:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=Ra6JWuLZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235315AbiDYHkV (ORCPT + 99 others); Mon, 25 Apr 2022 03:40:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232011AbiDYHkS (ORCPT ); Mon, 25 Apr 2022 03:40:18 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2782212ACE for ; Mon, 25 Apr 2022 00:37:14 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id A01101F381; Mon, 25 Apr 2022 07:37:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1650872233; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=i86FVqThQBACMnKmzxTZYyYhQk91L6sZ3MW2wyirS0M=; b=Ra6JWuLZd+GZZRYsGo5v2dY0Ms5bsyy/5IgZqelD4pH0vQUZl0/C2c3uPq/fYbX/j5ENbl YEVemUT1VGtOTsU3F2mlMWOOg0C/Gi2PgplC1hRv/3GImAQAo995CzN36oMFwa2hNj7TfG o4w2E6Cxv7qXdvNIavQUX3+4nac31Ek= Received: from suse.cz (unknown [10.100.201.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 6C52E2C142; Mon, 25 Apr 2022 07:37:13 +0000 (UTC) Date: Mon, 25 Apr 2022 09:37:12 +0200 From: Michal Hocko To: Vasily Averin Cc: Andrew Morton , Shakeel Butt , Roman Gushchin , linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/memcg: minor cleanup in non-memcg_kmem version of mem_cgroup_from_obj() Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat 23-04-22 05:23:03, Vasily Averin wrote: > Replace leading spaces by tab: > WARNING: please, no spaces at the start of a line > #X: FILE: include/linux/memcontrol.h:1480: > + return NULL;$ > > Fixes: commit 8380ce479010 ("mm: fork: fix kernel_stack memcg stats for various stack implementations") Please drop the Fixes tag. The tag is supposed to point to a functional breakage and this is purely a style fix. > Signed-off-by: Vasily Averin Acked-by: Michal Hocko > --- > include/linux/memcontrol.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h > index a68dce3873fc..294515d06dbe 100644 > --- a/include/linux/memcontrol.h > +++ b/include/linux/memcontrol.h > @@ -1753,7 +1753,7 @@ static inline int memcg_kmem_id(struct mem_cgroup *memcg) > > static inline struct mem_cgroup *mem_cgroup_from_obj(void *p) > { > - return NULL; > + return NULL; > } > > #endif /* CONFIG_MEMCG_KMEM */ > -- > 2.25.1 -- Michal Hocko SUSE Labs