From patchwork Thu Jul 1 01:56:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12353415 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 344EFC11F66 for ; Thu, 1 Jul 2021 01:56:40 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id F061061477 for ; Thu, 1 Jul 2021 01:56:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F061061477 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 7726B8D027E; Wed, 30 Jun 2021 21:56:39 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 748508D0279; Wed, 30 Jun 2021 21:56:39 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6114A8D027E; Wed, 30 Jun 2021 21:56:39 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0231.hostedemail.com [216.40.44.231]) by kanga.kvack.org (Postfix) with ESMTP id 3CF918D0279 for ; Wed, 30 Jun 2021 21:56:39 -0400 (EDT) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 1759818043646 for ; Thu, 1 Jul 2021 01:56:39 +0000 (UTC) X-FDA: 78312354918.30.86FA137 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf10.hostedemail.com (Postfix) with ESMTP id C860D6001A8C for ; Thu, 1 Jul 2021 01:56:38 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id D929F61469; Thu, 1 Jul 2021 01:56:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1625104598; bh=oygytOw7VDumW93VzYSF4Gu6w91eRl9BB8m8m5UI6w0=; h=Date:From:To:Subject:In-Reply-To:From; b=wW99Dzkhy3gHaDSqymtYneCbzJBNPo4+fORql8ZGxpIia36NvemApbg0Cnuy7z+DA yPIKqsX/u7jY4FGuUOe9MHDTEMs+l5YiCm+PpBO95g9tRQdB/kXdMJCJxNiyEMqTGO aS9FhfIairdoqAO5DCbAXdSJqHDo0sLwmxeZ1DCE= Date: Wed, 30 Jun 2021 18:56:37 -0700 From: Andrew Morton To: akpm@linux-foundation.org, linux-mm@kvack.org, mm-commits@vger.kernel.org, thunder.leizhen@huawei.com, torvalds@linux-foundation.org Subject: [patch 179/192] hfsplus: remove unnecessary oom message Message-ID: <20210701015637.LXYhTDzFj%akpm@linux-foundation.org> In-Reply-To: <20210630184624.9ca1937310b0dd5ce66b30e7@linux-foundation.org> User-Agent: s-nail v14.8.16 X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: C860D6001A8C Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=wW99Dzkh; spf=pass (imf10.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Stat-Signature: p8d8upz6zk34f85rirt39csnftta1rs8 X-HE-Tag: 1625104598-194251 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Zhen Lei Subject: hfsplus: remove unnecessary oom message Fixes scripts/checkpatch.pl warning: WARNING: Possible unnecessary 'out of memory' message Remove it can help us save a bit of memory. Link: https://lkml.kernel.org/r/20210617084944.1279-1-thunder.leizhen@huawei.com Signed-off-by: Zhen Lei Signed-off-by: Andrew Morton --- fs/hfsplus/xattr.c | 1 - 1 file changed, 1 deletion(-) --- a/fs/hfsplus/xattr.c~hfsplus-remove-unnecessary-oom-message +++ a/fs/hfsplus/xattr.c @@ -204,7 +204,6 @@ check_attr_tree_state_again: buf = kzalloc(node_size, GFP_NOFS); if (!buf) { - pr_err("failed to allocate memory for header node\n"); err = -ENOMEM; goto end_attr_file_creation; }