From patchwork Fri Nov 15 23:57:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keren Sun X-Patchwork-Id: 13877413 Return-Path: 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 1DC4BD68BDA for ; Fri, 15 Nov 2024 23:58:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 83C2F9C001C; Fri, 15 Nov 2024 18:58:05 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7EC4E9C0018; Fri, 15 Nov 2024 18:58:05 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 666009C001C; Fri, 15 Nov 2024 18:58:05 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 41F779C0018 for ; Fri, 15 Nov 2024 18:58:05 -0500 (EST) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id B7F84140A0D for ; Fri, 15 Nov 2024 23:58:04 +0000 (UTC) X-FDA: 82789992936.13.8EC3F27 Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.201]) by imf25.hostedemail.com (Postfix) with ESMTP id C2DF8A0008 for ; Fri, 15 Nov 2024 23:57:29 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=op9Cv3fn; spf=pass (imf25.hostedemail.com: domain of 3CuA3ZwgKCOkVPcPYdfYRZZRWP.NZXWTYfi-XXVgLNV.ZcR@flex--kerensun.bounces.google.com designates 209.85.219.201 as permitted sender) smtp.mailfrom=3CuA3ZwgKCOkVPcPYdfYRZZRWP.NZXWTYfi-XXVgLNV.ZcR@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=1731715025; 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:in-reply-to:references:references:dkim-signature; bh=LrEBNSRkiEojOqX+4gfP8RZsafc+q1NaKoMa79m2RXU=; b=vlWls//E0eBqkRx4NHOKCzhDAXn2ISVJcUGVS+kwp06yQPCypNio+ELgRvIE2Q/NU/DtZW PnqZKwOI84TS2H17C9v3WOITMERIubUMU3Jq7fxwL6aK8rl2Y0OXnH/xB7SMh/kyTaiyqt bs6SNytO2kG37qEBOlgxWUOFWA26AOA= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1731715025; a=rsa-sha256; cv=none; b=6+N0rspx2NHGLyGCNTLUEj/HuAqgj5Q3Jqzyw1ixtdMicu8qN4qzHEW2+4QyyvGtcJsVHl qIDvivaQQCFNDX7928TczKFlCIbt/s54J9vOfd8fZHffy6R7A58SvdnbC1TuGIVSlfBKS1 ow7PFwQ2bTeMa4d7cFK8Pb5Ew1sYgdo= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=op9Cv3fn; spf=pass (imf25.hostedemail.com: domain of 3CuA3ZwgKCOkVPcPYdfYRZZRWP.NZXWTYfi-XXVgLNV.ZcR@flex--kerensun.bounces.google.com designates 209.85.219.201 as permitted sender) smtp.mailfrom=3CuA3ZwgKCOkVPcPYdfYRZZRWP.NZXWTYfi-XXVgLNV.ZcR@flex--kerensun.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-e381d025d4aso2212265276.2 for ; Fri, 15 Nov 2024 15:58:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1731715082; x=1732319882; darn=kvack.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=LrEBNSRkiEojOqX+4gfP8RZsafc+q1NaKoMa79m2RXU=; b=op9Cv3fn9dzpBpb5ZbOUa1jzgiFxY2Zzz3Yj6pL2moLXrnkzbERekuyUVlpKif6Vcg OVY/nKDJV29b4JwcJq7rTu3kwPJ4Ie4TODaNfbmXUWEtJogfgod/YU/w4FzQ415AgPss c/lsbNtAZmnnwb/R9U7/xqqqpqAImnoB/MgNqShxNrtGtFc6X4z2F6CMFbyA3cwq2L/G JyN5ujOyyMmtibnd6Py59kdiafyl0NN6UKBQyxBa/Wt+Ao5LT3MdShGm3BRyVDmx+pAC uzk8nEQ5wBmNE+oypp5uhL0uOsotHfsStpcy6HF+6dknOdEDDShrjypwIsINxPEY6Iex fbwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731715082; x=1732319882; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LrEBNSRkiEojOqX+4gfP8RZsafc+q1NaKoMa79m2RXU=; b=mOcWXs6ltrHUK8OyUfa431xlbddMQkg2/WNM15WfCBmg2T7EQNeaJqC/nc1T11ioEC 013w5dhgBQayay/tyqFZ+35h3aVDq3UlKKR8h3PxrsTcs4MdBoxT9yolT/0bjlkXbT/5 eSvFjOrqEpGq5oefuctI2ds+Kv6nIKbf/93YLo11It8fMQHeV8Td2TfAxPhNoFuWN6L3 vKdjUfzmpDY9m6il4Ch1a7hmhXU3mpNkwSosBP/iPrfpsw89umT1gkdqEFoIVAYedUZb GJKDQJZ/cXpOsAbbW+CZ2qGkRp9hTmwhaqS3bW2QvsD3bWw29spCzy2ojDNJsPs/PlZW lCmg== X-Forwarded-Encrypted: i=1; AJvYcCW2pOhCjM8bil4IbTDWCkmY+7larbU0jebVTeEzh5acVAfCp8VmPjoBffthRGDWMXemQmm7yU/wjA==@kvack.org X-Gm-Message-State: AOJu0YwF642YqcrG1hXlv1TwDdnXWblC25YHUwBhDXUyKJPCMvRFgzQn 8fKpYpAlGUHdZhC6iHvvYPovju763tTZysblAMDrJ2BsNv07tUq3Z6YWZf04FB+ke1nG+ugqgOx Uf/YMwZx8Tg== X-Google-Smtp-Source: AGHT+IEj4KClsgSqXktbEj+ARf/VjHaKN8ZOK6NA9iO0b53n0H+SstnU5eqFIIEUIzmZZO9P0LaXRT13p0uoWw== X-Received: from kerensun.svl.corp.google.com ([2620:15c:2c5:11:f2d6:8e6c:5a90:ef1e]) (user=kerensun job=sendgmr) by 2002:a25:b001:0:b0:e33:104c:fac8 with SMTP id 3f1490d57ef6-e38263b7b7emr3194276.7.1731715082063; Fri, 15 Nov 2024 15:58:02 -0800 (PST) Date: Fri, 15 Nov 2024 15:57:43 -0800 In-Reply-To: <20241115235744.1419580-1-kerensun@google.com> Mime-Version: 1.0 References: <20241115235744.1419580-1-kerensun@google.com> X-Mailer: git-send-email 2.47.0.338.g60cca15819-goog Message-ID: <20241115235744.1419580-3-kerensun@google.com> Subject: [PATCH 2/3] mm: remove unnecessary whitespace before a quoted newline From: Keren Sun 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 X-Stat-Signature: g661jhifz98y4h3p7ufgt4a7soaaso3h X-Rspam-User: X-Rspamd-Queue-Id: C2DF8A0008 X-Rspamd-Server: rspam02 X-HE-Tag: 1731715049-142073 X-HE-Meta: U2FsdGVkX191CK6WFS5wSzUxP/1xSvHPeeXmot1K+3YZCLI2iPoMD0ZhO3qDneIFpXpUK6p8rksmHUySlp8VNF8gz/eEsDY1GemSEynMENfit6QxILn1fnX6FHywV2Rffy83+t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YxdZ5yr4ZW4MRjwJy28ubjNFZ0lI0JOgo6sw/qAs5gHTRaIqejA/X50/5uS4jCdwT0NOcX9RwA4Yn0sjrDjA08zIs1KCH7v7Rc6a0iGOJmQOsIr5Qpvjbv4Z4I4efsem6bvZQSCsBej+odQbfexSJKTsnaltQMZob/CTVvuBrU15lmii9cou3AV/5MRevRNGbyk/ZGVkivsGGFn1GfY0KpiLM6zjQV6ibf/+Hxu8iZKXEAfQ/H/TtsowpLOXx7dbxgHiNLY+TRo0RbpKcekeWmtF7Fs45s/FisAlpAUsnVxZLw1+nY8NtNUB5olLrJP8B7o52/pFveK37Nkcbg0zcH80E/YnUUF9AWn4Z1iChEYWw3evh1qFS1ZaMQ1rgCYqNFbXaY1c0= X-Bogosity: Ham, tests=bogofilter, spamicity=0.007074, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Remove whitespaces before newlines for strings in pr_warn_once() Signed-off-by: Keren Sun Reviewed-by: Roman Gushchin --- mm/memcontrol-v1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/memcontrol-v1.c b/mm/memcontrol-v1.c index 465201ef40b7..4cbbced0c8a1 100644 --- a/mm/memcontrol-v1.c +++ b/mm/memcontrol-v1.c @@ -1043,13 +1043,13 @@ static ssize_t memcg_write_event_control(struct kernfs_open_file *of, } else if (!strcmp(name, "memory.oom_control")) { pr_warn_once("oom_control is deprecated and will be removed. " "Please report your usecase to linux-mm-@kvack.org" - " if you depend on this functionality. \n"); + " if you depend on this functionality.\n"); event->register_event = mem_cgroup_oom_register_event; event->unregister_event = mem_cgroup_oom_unregister_event; } else if (!strcmp(name, "memory.pressure_level")) { pr_warn_once("pressure_level is deprecated and will be removed. " "Please report your usecase to linux-mm-@kvack.org " - "if you depend on this functionality. \n"); + "if you depend on this functionality.\n"); event->register_event = vmpressure_register_event; event->unregister_event = vmpressure_unregister_event; } else if (!strcmp(name, "memory.memsw.usage_in_bytes")) { @@ -1895,7 +1895,7 @@ static int mem_cgroup_oom_control_write(struct cgroup_subsys_state *css, pr_warn_once("oom_control is deprecated and will be removed. " "Please report your usecase to linux-mm-@kvack.org if you " - "depend on this functionality. \n"); + "depend on this functionality.\n"); /* cannot set to root cgroup and only 0 and 1 are allowed */ if (mem_cgroup_is_root(memcg) || !((val == 0) || (val == 1)))