From mboxrd@z Thu Jan 1 00:00:00 1970 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=-4.7 required=3.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_INVALID,DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 87557C48BE6 for ; Mon, 14 Jun 2021 09:30:47 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 14BCF61380 for ; Mon, 14 Jun 2021 09:30:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 14BCF61380 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=amazon.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 5D5756B006C; Mon, 14 Jun 2021 05:30:46 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 585296B006E; Mon, 14 Jun 2021 05:30:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 425E06B0070; Mon, 14 Jun 2021 05:30:46 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0071.hostedemail.com [216.40.44.71]) by kanga.kvack.org (Postfix) with ESMTP id 131026B006C for ; Mon, 14 Jun 2021 05:30:46 -0400 (EDT) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 943217597 for ; Mon, 14 Jun 2021 09:30:45 +0000 (UTC) X-FDA: 78251809650.23.49FD80B Received: from smtp-fw-2101.amazon.com (smtp-fw-2101.amazon.com [72.21.196.25]) by imf09.hostedemail.com (Postfix) with ESMTP id 7EA24600015F for ; Mon, 14 Jun 2021 09:30:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1623663046; x=1655199046; h=to:cc:references:subject:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=dIhrAnH9FPYcbc8v2HeH9/J0qmUD70Of8p6cMMcu+c0=; b=VvnRSB56ApRqYP44CDiOVN4p7QVtLpAQgNwS2YuI8/5vGejzoMmw6mby MmrB9ZnPhj3cOKfatrxTcjDEvqNjLOe1jWCuOjZhq8ImJhEptJg5/2m6F fxCQjKE0YEf/g0EMDO6eHzSQRb0BklWna9f/lZCwTFGQORTw99RQCYVMC I=; X-IronPort-AV: E=Sophos;i="5.83,273,1616457600"; d="scan'208";a="115620062" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-2c-4e7c8266.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-2101.iad2.amazon.com with ESMTP; 14 Jun 2021 09:30:34 +0000 Received: from EX13D31EUA001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-2c-4e7c8266.us-west-2.amazon.com (Postfix) with ESMTPS id D89FFA175D; Mon, 14 Jun 2021 09:30:31 +0000 (UTC) Received: from EX13MTAUEB002.ant.amazon.com (10.43.60.12) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 14 Jun 2021 09:30:30 +0000 Received: from u898248c994d452.ant.amazon.com (10.50.205.34) by mail-relay.amazon.com (10.43.60.234) with Microsoft SMTP Server (TLS) id 15.0.1497.18 via Frontend Transport; Mon, 14 Jun 2021 09:30:14 +0000 To: CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , References: <20210520075629.4332-10-sj38.park@gmail.com> Subject: Re: [PATCH v29 09/13] mm/damon/dbgfs: Support multiple contexts From: Message-ID: <98a75d0c-2d1a-807e-050b-fb8e7d92f447@amazon.com> Date: Mon, 14 Jun 2021 11:30:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210520075629.4332-10-sj38.park@gmail.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=amazon.com header.s=amazon201209 header.b=VvnRSB56; spf=pass (imf09.hostedemail.com: domain of "prvs=79281b349=sieberf@amazon.com" designates 72.21.196.25 as permitted sender) smtp.mailfrom="prvs=79281b349=sieberf@amazon.com"; dmarc=pass (policy=quarantine) header.from=amazon.com X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 7EA24600015F X-Stat-Signature: f77qgx1iceeofgaw7u9ape3horz6a6jj X-HE-Tag: 1623663040-761955 Content-Transfer-Encoding: quoted-printable 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: +=C2=A0=C2=A0=C2=A0 new_dir =3D debugfs_create_dir(name, root); +=C2=A0=C2=A0=C2=A0 dbgfs_dirs[dbgfs_nr_ctxs] =3D new_dir; debugfs_create_dir might return ERR_PTR, should this be checked?