Message ID | 20241104222737.298130-1-kerensun@google.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id BEC87D1CA05 for <linux-mm@archiver.kernel.org>; Mon, 4 Nov 2024 22:27:59 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 57D616B0093; Mon, 4 Nov 2024 17:27:59 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 52D716B0095; Mon, 4 Nov 2024 17:27:59 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3F4AE6B0098; Mon, 4 Nov 2024 17:27:59 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 207886B0093 for <linux-mm@kvack.org>; Mon, 4 Nov 2024 17:27:59 -0500 (EST) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id CA943160B9B for <linux-mm@kvack.org>; Mon, 4 Nov 2024 22:27:58 +0000 (UTC) X-FDA: 82749850764.18.453E054 Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) by imf01.hostedemail.com (Postfix) with ESMTP id B51B840018 for <linux-mm@kvack.org>; Mon, 4 Nov 2024 22:27:31 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=HGmtfns+; spf=pass (imf01.hostedemail.com: domain of 3bEopZwgKCOURLYLUZbUNVVNSL.JVTSPUbe-TTRcHJR.VYN@flex--kerensun.bounces.google.com designates 209.85.128.202 as permitted sender) smtp.mailfrom=3bEopZwgKCOURLYLUZbUNVVNSL.JVTSPUbe-TTRcHJR.VYN@flex--kerensun.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1730759228; h=from:from:sender: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:in-reply-to: references:dkim-signature; bh=eLnYMXR0eJ0WVOXHu5ohmzLISM/yif+XEsN4c7cAuuw=; b=WuspvcGg0jSwRz0GhGv5A2rVRlE1Qnzhp385dTgaDruup0WLsW5ODO57MS/+9fDHmr6O0S 24LvkSSz8qWUg4iGZe0GLACxOl7VH5MLPOrCavEqsrfX/ywD8Hj2/bo99eyxmUpnf51ZuZ 7SjkDGab8/GpFlISXkB932/+Jw9pJ1U= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1730759228; a=rsa-sha256; cv=none; b=TYYrPpmosO8oPa+UQE+GuqVTxpW+nw+GNCM4tqb0lFMlT4RlH6oj5cVGkCgPlWZ16aso6Y 8loABrm6MUg0RoQTzEzYPYy7+eaMpqGLV8Ne9sDQn7Q9LQpvnt8h8Fimy8IGhcR2rUOkLx xz15hsBy6coxQJPwpqfDUQQAyoBB+lM= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=HGmtfns+; spf=pass (imf01.hostedemail.com: domain of 3bEopZwgKCOURLYLUZbUNVVNSL.JVTSPUbe-TTRcHJR.VYN@flex--kerensun.bounces.google.com designates 209.85.128.202 as permitted sender) smtp.mailfrom=3bEopZwgKCOURLYLUZbUNVVNSL.JVTSPUbe-TTRcHJR.VYN@flex--kerensun.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-6e59dc7df64so60988767b3.1 for <linux-mm@kvack.org>; Mon, 04 Nov 2024 14:27:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1730759276; x=1731364076; darn=kvack.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=eLnYMXR0eJ0WVOXHu5ohmzLISM/yif+XEsN4c7cAuuw=; b=HGmtfns+xjaX7K3nme5HiRWl2O2L+8HcQi+HB9gQZlJfBN+Lohhym6xUWSKycp2YFb 0Q3ARgPT7N0VoN+mRG9tQwg2m0q/WAMRg+cWn//yZon8/Drk/jfW9dubGeG1sy2zwg5s dVGMnFuo2deahiIDm463GO1JMjmK3BmDc6c1HFVTZPapDnHt9bSOqu2tnikP4RS2HSPa XAOct1rQSjN+qsdwrhafAz0COfs+FD3buyvcZbEba/9PJ8+B3SGrS1joDUarY8fPs9sx BYMxnWk4bRy6tOc1O5o2QwQ/CbMLGrmKrfOA4ixSg2WRuyOfg+RiM/I0zjtxzDazCq0p Vvmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730759276; x=1731364076; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=eLnYMXR0eJ0WVOXHu5ohmzLISM/yif+XEsN4c7cAuuw=; b=ZrxQDFLt1edjDiNOvq5bIyuLpdnhEWMvafq2ttE/pQLYEmR+ykgnM3xjj4dkSbgoF8 anSR5PRDdIgUlkDEOJJ08PtpI5hG0f0Vl6Za/RPZlvdpt4PKbStlBhQjl47wi8mrW+Ak KmcoLK7+zA6waCdYUfJ0ao7xC6pjpnJ74LQhM6NLmDnbQVbMgD0VIlg2lyZk/ilDmxzM 6HCTRPbjxs+JbCyRnXhzQ7DWFq7isfX1NitewylFvzDuasZzjpeZTpMyEb/XDwin4/sf jPVtmZzZ154yq31MZ2hdVR0Th6xZ1ajhJ2/Qo1Ly6KpzQwRN98raZLD64w/jxRsiM1U3 zT0Q== X-Forwarded-Encrypted: i=1; AJvYcCUmmfysboQtRxUYRZSRmR2/saADXIbgTo9cbW5a9UCE9nWPHGN+nHsLYevFam8RI3TdulOxfy0DTA==@kvack.org X-Gm-Message-State: AOJu0Yw5bBh63PThUvWqJxdxwAu9l+4us2IUb54tLxJMcN/0n3kM2Jnw n9y52X8ODW2ch7nvTJebqOX235qeFI0pcijz0KkDjeg0H7iLa6nPnB2cqF8Luk40TM6uLPXvDQY j0B/1a0OB/A== X-Google-Smtp-Source: AGHT+IH47mWu7tl+7jg9xhI8qwcAtywVoHaauR6iyeePJxOJs2WneI4NavVt60+ZcgqgGKJ9n9EcOYgF7JbeEg== X-Received: from kerensun.svl.corp.google.com ([2620:15c:2c5:11:2520:b863:90ba:85bc]) (user=kerensun job=sendgmr) by 2002:a05:690c:7004:b0:620:32ea:e1d4 with SMTP id 00721157ae682-6ea554802ffmr2326227b3.0.1730759276104; Mon, 04 Nov 2024 14:27:56 -0800 (PST) Date: Mon, 4 Nov 2024 14:27:33 -0800 Mime-Version: 1.0 X-Mailer: git-send-email 2.47.0.199.ga7371fff76-goog Message-ID: <20241104222737.298130-1-kerensun@google.com> Subject: [PATCH 0/4] mm: fix checkpatch.pl warnings in memcg v1 code From: Keren Sun <kerensun@google.com> To: akpm@linux-foundation.org Cc: roman.gushchin@linux.dev, hannes@cmpxchg.org, mhocko@kernel.org, shakeel.butt@linux.dev, muchun.song@linux.dev, cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Keren Sun <kerensun@google.com> Content-Type: text/plain; charset="UTF-8" X-Stat-Signature: sukwzkerixetf4chhi4gorqtn9cquzcs X-Rspam-User: X-Rspamd-Queue-Id: B51B840018 X-Rspamd-Server: rspam02 X-HE-Tag: 1730759251-835272 X-HE-Meta: U2FsdGVkX1/3We9xMwkNhTff2ck3hp7blP0JtFF+WGSyti5yBgrr7KspMT5x+JbDQEZmnvMt+qAalsIoudH703Prp0upQpbogiVGIEmdlCWw21MgEFXWEF6FRFTrtE+FeNTEXo6AVPPB0JAzgKOAzudYfc8OD+DCavWrnn2lIdhj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zIZpeQ8GNfmY2MU70800MUD9lrZHqZFaUZXruSSW8FIN7rniQIBvrYyRjh2b/bLf4AojJtUeDL1wy3k3UtLpF2rdEuId0D8l1j9sPNQR3/sQBQJ17YrpKsvwqcs/NRFAeMfVvM1s5sAURGR4TaukPQIVD5ZymWKfaTeDkjO7XIQgbvm3Op5mba5DrcYiPqHFPvD6uwH6bF1S1swkPrrqA9G6BCAW2awUJMv1NJJJbQGuMFIhCkTafyNjGZOmKbUK0NyTrsPHwgBf7XXJqH7zB5adhE/BqFcKk+oL0piIB6M/XaK0zPwW6iWqU3CYMl1v X-Bogosity: Ham, tests=bogofilter, spamicity=0.002791, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
mm: fix checkpatch.pl warnings in memcg v1 code
|
expand
|
On Mon, Nov 04, 2024 at 02:27:33PM -0800, Keren Sun wrote: > The patch series fixes 1 error and 27 warnings found by checkpatch.pl in the > memcg1 code. Please do not do this. Fixing checkpatch messages in existing code is counterproductive. Only run checkpatch on new code, and even then take its suggestions with a grain of salt.
On Tue, Nov 05, 2024 at 12:31:36AM +0000, Matthew Wilcox wrote: > On Mon, Nov 04, 2024 at 02:27:33PM -0800, Keren Sun wrote: > > The patch series fixes 1 error and 27 warnings found by checkpatch.pl in the > > memcg1 code. > > Please do not do this. Fixing checkpatch messages in existing code > is counterproductive. Only run checkpatch on new code, and even then > take its suggestions with a grain of salt. I do agree in general, but not in this case. These are nice cleanups no matter what checkpatch.pl thinks of it :) Thanks!