From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.48 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794260763; b=LJFdoY7DRK/rfSZLe7pObZ5zyyV7CHSMH++MjwFpR32CrTv4l8E99FZCuHfDwr2TTU3/ 1qY+e0q+M/8l11/iSS3nt4g0m0RlB41cCaEkUSjYL2yIzHlSooacCCXyFqfJgv1vhtV81 TaF4tZfBRIinS2W7p17Na9+LxsIoyq71c3p+irdN55u7ywiuAle3S5TdDmMThhdQ5q3kt +WuFZAAc44DI1kwpv39Jz8SOvSQdnIZW4Dub+SV25JmVBFKeaoT0B+mmi7DzpmNqW4Tfa H/4aHWlOkvyta6RAmzxbnpvQlI4D0FM7btG8/t35E2ed5CjCjnmBrqCh/8hO5Wh/7Dw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794260763; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:X-Mailer: MIME-Version:Content-Type:Content-Transfer-Encoding; bh=874yjmK9ypxK94+nKOJ/uR1d6HpqK0owgIThZQA8ZUA=; b=jYw56VY/7kkl/Kl3U/vwjW5Pc6mJ2WouDfzPvFkRyTW80ZNVM0St59NtvpswBAwZIB4U OhWDDa1kSV9YgM1fQiPoEsOwBTN0s7hdgTsY+zC/EGfp+du/XUzausWJFbTVVTLI6eH++ emV3UJKvMPdN6qy/lq5F9TMnFGXE6J+ITQ4FzUtCnuep1fqewKhR2wjPrrVPToNDmHX64 15G4+aLXSdnn/Gqmj/3zNM4yg+V4eV3o5+a4QCDptg/TMOe+1I8YaXpePrEraJiYppX5C hBF2ZBx+z0pLrutmTWHcncZWvMfd+y/96PkzAt8HNbwZf0YgCRNZZIl3JklujcUTCpg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=LaZ0qPv5; arc=none smtp.remote-ip=209.85.221.48 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 98B22606A338 for ; Mon, 9 Nov 2026 21:46:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 98B22606A338 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=LaZ0qPv5 Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-490a0e72588so737604f8f.3 for ; Mon, 09 Nov 2026 13:46:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1794260761; x=1794865561; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=874yjmK9ypxK94+nKOJ/uR1d6HpqK0owgIThZQA8ZUA=; b=LaZ0qPv5+whTFQHjIA7oYo021SUS2QeXnWN8ii9Y4im7Ue68o46nz2xh/hHMwIUfQ/ ICad5fyoXePYl6/8nNVhZk6UxBKiDwJbHcHq6QklDSJskt7Ox2MaUqpcgklbAASOb1WD 7U13gt1MK2zXHTSuMFiAfjmE40I4QhfpTIR2Mc6nMOBQW6Dg/mqe6U/h69Hyf/QnrKae CyKIviPRPYc2tnG0IM8qOylYYY2PKnrUJzf833wY0ZcFYDbyZdAS7ekVESO+FaUUNtdA WzN6sPDUCv7pE3hPSGmxzNcqgZM1jmpktE+mpPCXGo9ukB9qCsiBySNit7DIM51G+Ivt K68Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794260761; x=1794865561; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=874yjmK9ypxK94+nKOJ/uR1d6HpqK0owgIThZQA8ZUA=; b=jS2t+8U4sUdVoy1aHOTpmmwQ877qMu8GtQy43zeSKvBXO04OYMvh1isCJlNDZFPymL occbsRjFp6QF+PcX+HkZhuQk9kHfJIpz07JmI0yBBDkujMvhyEiZUcHYQrQOOjzeswgr ZbLWLqBlWwnhRawz8EYLC0XfO3HBBrbe3DGSiL/E9GQVaoDxVah6s85zSphuiOZ+lnun LaNRsQAghoUkBJSlhWpnjsOcfIPeuX4YTOXigdcYyFKNew6aGT63myfcqNtanEcUj406 9RTxw5g7kyAtA64gch6H3JZEgqoZTTeuaJVhX74OhhfW8UlrsmcbaTYhX8hrlUGF4oip F/Lg== X-Forwarded-Encrypted: i=1; AL+hErEGaItcKU1XvJaVrAHJt3bD69YVHwFYdqthElopRqy/78zYuGe8QJHK1HUSA8eNgB7GaXQCJld/ZzVIzA==@vger.kernel.org X-Gm-Message-State: APuU4Z+7CyfnZ4JZStjyncpi+U2W5fv8QmCuWKJBfnaqmXzGR1dd9I+z e44kzNHcLJhnxdOU8Cd3rMFxx+t6Dzc0QjpOAaR0LicsHxZSMCdWQ7xH X-Gm-Gg: AYBFou3Em+ACEQ4xwhyZZljxa4X+Crsjmd4kY6kSCiC47kyV+T/w2kUqzJUMDptsmbg 7ZzkTn9Tdh0A6GdVUzPWA/RZfcj2n7uvQwVhdX7a2XuGgIL+/wD5j9YWgZ9GM1Dn/7ts+msj6h4 tuaxrrxlqhaSkC+5L/8/g7hgMjDtOpLYx4gsjNhbiGOCBqwjUu1zU8LZ9G3J8lk3HDMy5x6cHtH grMo0EY0viIcv2usvHzBPToRYFaUOTB6SmKz+23JZ/qFcRk9WgtR4ueCMFsYnB+7v/6esi2QtaB LdDvevBp7epFqJUgiojk9kVmxd5bnuWp5oCCeolq6sirCte5kvjscIaoWjTnZNLu9QT5t+Rrqrb hNpNnr5XFz4w/hcG6NxgQ5VDwDlPNsOZTtYyczD/vOINhjpCtMj32vNj0ysB3Wxo7ZbjP7rrgSb WPXIJibv2ow046jFpATyGfunTLAfzmlt4ApDiw/9E0wq4NwhypL2hAZntyB7M+wbx0KgMTVuv0X JcJCcP6RkSXkyIS8PovRNTUfHHLgyjQKrybefnUP/kVD4hLmDNuVAdVJ49XAJ77DMY5hzFe1hEO 2oaNtaN/c4ux4aFkAL9S/fzjIhCQRoHkgNOTsqQF5hUBMxRnctUrLXO/rEcImL2KKw== X-Received: by 2002:a05:6000:288d:b0:48e:25e1:5eb8 with SMTP id ffacd0b85a97d-4982b28aa42mr1487213f8f.3.1794260760763; Mon, 09 Nov 2026 13:46:00 -0800 (PST) Received: from pumpkin (82-69-66-36.dsl.in-addr.zen.co.uk. [82.69.66.36]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4983585c4fdsm1213644f8f.10.2026.11.09.13.45.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2026 13:46:00 -0800 (PST) Date: Mon, 9 Nov 2026 21:45:58 +0000 From: David Laight To: "Maciej W. Rozycki" Cc: Christian Brauner , Geert Uytterhoeven , linux-fsdevel@vger.kernel.org, Linus Torvalds , Jann Horn , Josef Bacik , Chris Mason , Jeff Layton , NeilBrown , Eric Dumazet , Thomas Gleixner , Al Viro , Jonathan Corbet , Christoph Hellwig , Greg Kroah-Hartman , Joel Granados , Kees Cook , Jan Kara , Jan Kara , linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-s390@vger.kernel.org, linux-scsi@vger.kernel.org, linux-um@lists.infradead.org, linux-wireless@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, netdev@vger.kernel.org, ntfs3@lists.linux.dev, platform-driver-x86@vger.kernel.org, coreteam@netfilter.org, kexec@lists.infradead.org, linux-pci@vger.kernel.org, linux-sound@vger.kernel.org, netfilter-devel@vger.kernel.org, dri-devel@lists.freedesktop.org, ibm-acpi-devel@lists.sourceforge.net, jfs-discussion@lists.sourceforge.net, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-cifs@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-mm@kvack.org, linux-sh@vger.kernel.org, linux-usb@vger.kernel.org, samba-technical@lists.samba.org, sparclinux@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-doc@vger.kernel.org, linux-serial@vger.kernel.org, linux-atm-general@lists.sourceforge.net, Takashi Iwai , linux-input@vger.kernel.org, linux-raid@vger.kernel.org, linux-ext4@vger.kernel.org, linux-modules@vger.kernel.org, linux-debuggers@vger.kernel.org, Chuck Lever Subject: Re: [PATCH RESEND v2 14/23] proc: let procfs copy in writes before pinning the entry Message-ID: <20261109214558.0d9d5228@pumpkin> In-Reply-To: References: <20261104-work-procfs-core-v2-14-76ace653a773@kernel.org> <20261107-akteur-gemieden-eckdaten-21304d085e35@brauner> <20261108185953.28054fb3@pumpkin> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; arm-unknown-linux-gnueabihf) X-Mailing-List: linux-alpha@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 9 Nov 2026 05:05:57 +0000 (GMT) "Maciej W. Rozycki" wrote: > On Sun, 8 Nov 2026, David Laight wrote: > > > > > While at it, I think it would be good to use this conversion as an > > > > opportunity to replace "char *" by "void *", which will probably let > > > > you drop several casts from users. > > > > > > So I tried that too. The thing is it drops exactly one u8 * cast in > > > ntfs3's label write. > > > > Since char is now unsigned that one isn't even needed... > > Please excuse me missing the context, but what circumstances does your > claim refer to? Just that the cast would have to be: u8 *foo = (u8 *)bar; where 'bar' is 'char *', and I don't think you need a cast there when char is unsigned. David > > Maciej >