From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lithops.sigma-star.at (mailout.nod.at [116.203.167.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CADDD35CB8C; Mon, 16 Mar 2026 21:45:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.167.152 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773697557; cv=none; b=u+PnAQuboyAeDh48TpCoTZ9TVi5oDYKbq6M9GmzlMSAYazgLPojdU9FBH86IuBNVV5BpTq51LK+UbhMPd4I9yfF75gj0kgfeQ3hGeJ6HMk+lz5cte6oGzJw9RbhNbdicCf2QGvzlj5GBuPDm2tHAG57rhu3n8ClywFh2WUTJtBU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773697557; c=relaxed/simple; bh=/UyC2rv+fuf1B8esy+O+vyfPhSfBzfj4uOXEAJ8jSnc=; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject: MIME-Version:Content-Type; b=Savz+Lm6QpTQQUSWKV6DJsI6Cnni6rEBjhFryhb8hdBEEzq7ny1XvnuVC3ahUcWP8KAKpk75YNd7YwxISDut2qoJi6YnZU9/wmQ5CiYTtxn9XdvrkKorhLfKQXWb68u2qmoQcJ20Oon4PdgEhhmWZp6QO816WBj02PjeiiyzEzo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nod.at; spf=fail smtp.mailfrom=nod.at; arc=none smtp.client-ip=116.203.167.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nod.at Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nod.at Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id DE7AC2C14A6; Mon, 16 Mar 2026 22:45:45 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id gGqg7UAYOlZ6; Mon, 16 Mar 2026 22:45:44 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 3AEF62C14A8; Mon, 16 Mar 2026 22:45:44 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Q-DUhqY-5-xt; Mon, 16 Mar 2026 22:45:43 +0100 (CET) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id A7EA82C14A6; Mon, 16 Mar 2026 22:45:43 +0100 (CET) Date: Mon, 16 Mar 2026 22:45:43 +0100 (CET) From: Richard Weinberger To: "Lorenzo Stoakes (Oracle)" Cc: Andrew Morton , Jonathan Corbet , Clemens Ladisch , Arnd Bergmann , Greg Kroah-Hartman , "K . Y . Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Long Li , Alexander Shishkin , mcoquelin stm32 , alexandre torgue , Miquel Raynal , Vignesh Raghavendra , Bodo Stroesser , "Martin K. Petersen" , David Howells , Marc Dionne , Al Viro , Christian Brauner , Jan Kara , David Hildenbrand , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Jann Horn , Pedro Falcato , linux-kernel , Linux Doc Mailing List , linux-hyperv , linux-stm32 , linux-arm-kernel , linux-mtd , linux-staging@lists.linux.dev, linux-scsi , target-devel , linux-afs , linux-fsdevel , linux-mm , ryan roberts Message-ID: <305430349.46051.1773697543461.JavaMail.zimbra@nod.at> In-Reply-To: References: Subject: Re: [PATCH v2 09/16] mtdchar: replace deprecated mmap hook with mmap_prepare, clean up Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF148 (Linux)/8.8.12_GA_3809) Thread-Topic: mtdchar: replace deprecated mmap hook with mmap_prepare, clean up Thread-Index: pNh82O8fJN+FJCj96uoZroIJd3hL7Q== ----- Urspr=C3=BCngliche Mail ----- > Von: "Lorenzo Stoakes (Oracle)" [...] > Commit f5cf8f07423b ("mtd: Disable mtdchar mmap on MMU systems") commente= d > out the CONFIG_MMU part of this function back in 2012, so after ~14 years > it's probably reasonable to remove this altogether rather than updating > dead code. >=20 > Signed-off-by: Lorenzo Stoakes (Oracle) > --- > drivers/mtd/mtdchar.c | 21 +++------------------ > 1 file changed, 3 insertions(+), 18 deletions(-) Acked-by: Richard Weinberger Thanks, //richard