Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2474156rdf; Mon, 6 Nov 2023 15:51:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IFPLEqX0tsDRKelVkuY40DCZGHD+yv/3EE71wvDKP5HFbsqmb/PZ5Se//5JvZ738KPCrOBy X-Received: by 2002:a05:6808:308c:b0:3a8:1877:2d28 with SMTP id bl12-20020a056808308c00b003a818772d28mr40480322oib.50.1699314697130; Mon, 06 Nov 2023 15:51:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699314697; cv=none; d=google.com; s=arc-20160816; b=lSQSg9tpyklYy+/XwpWs8xEnu4oAwZ5r/MUsVWShJF6ByDIbNR4VDPNA+1Cqw/cROv c69uphSwJU6cNUWqDSYZs6f+80IdzYbgu/g1R9ERQvmUSPtNdRlOZi2QA3APrynOV/VD gvEFsOBq+7GLpjONcvx/eAyfPeRYarek1fktFPfljkwGCbWGVQ+b7sXFJXRxNI8ZQ90E fFryeKBayZIpn3qKUgFRLQ0Km7GI4JXDFxpQjUxK7nqxjpUphnKRAxReG77FHe1vGWjm 5CB/E3g5Hpq0MikSX1Zz/d8xfAz2Va5pjwPAQj5GC9oc2HhaA/x1GZ557BmlEco5VJp+ Yx6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nHRXey1Nc54VsX+PYONImOkUOJnNcZ+jHBME+zkvQkY=; fh=Xhyuuicc99jZlJX4wCP/Zn/eU8H3/eTtWgVZwEm3/BI=; b=ZUmtdpDtgIRISqE5u18B5dJMu49igE9IO6BibZoKhU1KVim+Mc3X6AgOzQd9QatbwH IgiJdtNj1wZp+5pm3JTK4gcgPI8NsrkgsZNlWVHm+s4R+g4SocX+7bfEfI3Uc145Z+ab qg1XLn51i/gzJ2ZCN+z+wQ6RqBEiYOh3HJuDXbLx9LC3JnhbA/zIMKVC/yDaEjoF/ICL esCzlK76N2pcpuOvunqAh251800sJTbLQL0uT9f2upJaw296Mjt/pgfGA7pZVRsgDfAh 1+G05Ei4pJpo7DT5vEkKmkRjv/Dv2mug6aCpZY4bghDgUsllAduDkFFJy2QjqS6pkYQc HaxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="g/J1Ta1D"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id c67-20020a633546000000b005895c80c902si49052pga.438.2023.11.06.15.51.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 15:51:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="g/J1Ta1D"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 1E4DF802B56A; Mon, 6 Nov 2023 15:51:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233080AbjKFXvW (ORCPT + 99 others); Mon, 6 Nov 2023 18:51:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231739AbjKFXvU (ORCPT ); Mon, 6 Nov 2023 18:51:20 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A667692 for ; Mon, 6 Nov 2023 15:51:18 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4237C433C7; Mon, 6 Nov 2023 23:51:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699314678; bh=ug7V1tbLRIildaS+c6ipgNYbpP3MEP1leM3HDA/pNkE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g/J1Ta1DDq5rM2T0i0r2i8ySnmYDnynAyI8MgLPEtC83Sc1yqctCBvAM7mV58yjpV XAlZcJOR/lZ0+6KLOLaVgfnoH849vWznNg2tLTK8OpJJ8c4fSpX6dSNyVIH4BoFJ56 Z8dZb0HzliYqJH3ScFvBR7mCPYAbw9GldSFgHbJ46E1jCkLxw77XQXpkP6XUDA7d5a c1MjSrTqnkRAr9syYUW3CtFskcFDtKzAGC49s39p1nhOFbTQqNK6zQorbxSPAgj9Tp CFxYonO+6HMVOF0L1d0a3xpRF7g0uhces3+/XJugNe71DetWe/QMl9ViY4Mmmutupj oJfmMudJysf1w== From: SeongJae Park To: SeongJae Park Cc: Andrew Morton , damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] mm/damon/sysfs: fix unhandled return values Date: Mon, 6 Nov 2023 23:51:16 +0000 Message-Id: <20231106235116.95842-1-sj@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231106233408.51159-1-sj@kernel.org> References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 06 Nov 2023 15:51:29 -0800 (PST) On Mon, 6 Nov 2023 23:34:05 +0000 SeongJae Park wrote: > Some of DAMON sysfs interface code is not handling return values from > some functions. As a result, confusing user input handling or > NULL-dereference is possible. Check those properly. > > Please note that these patches are not cleanly applicable on mm-unstable > since mm-unstable has dropped the mainline-merged patches and rebased on > v6.6, while some DAMON patches that these patches are depend on are > merged in the mainline after v6.6. I confirmed these patches can > cleanly applied on latest mainline, or mm-stable-2023-11-01-14-33. I just checked mm-unstable has just updated, and confirmed these patches can cleanly applied. Thanks, SJ [...]