From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.53 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794260762; b=44K2UMcabzpx9Zh68ViONqwqc/g9azlhYrjOmxicvofo91nEptMngSbcTzaUtRt8RCN6 nj16ZgBCxgLZYPFU6e8WNn2i+W/ErxuipRjHLL/dCWBgZgreHAywo8P8G56AbYwyjv8IN OAeaD0XU+6YvWaVnNw+7TuphH5+7iRzDLBGx8cj19pVqLZuF7fAz/42PHedNqnRSgiDf0 wDj69SkKrW4khpzBEAvDuKUfgQ2oQ6jqcawzlyJI88RvFNXXNjPSU1WmNbGLw59Mo6DEW Eh5/086ON5rHXeW8xd9UrUpcbV72fFnKip/Ed8IazNdwR+ZWQQYAY27zVToRVyMQcIQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794260762; 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=QcIYY4LAUTQDly9oi+sIsUwk5zW/iTPzQWJO6cGrWzkcjdwi2KfLdbu1WKzPiTFThFDf MZRZSPmEWnyzdtyt3hQ2alOekU/os6jjHssPoTaU3xE5+qADhY3sdQ1uFFrP/lDjWmfLf 2xNZDw9JPe9YXz9kn3L4DAwxiwmvMF/T+NbXkRxCns0xrrYtMEi4xsfWf/wCtdNaID4UH SDg5FGIKlrw23eftvf375cswTnfN944jkYSKt+3P1i7j0Ad78SVYmeMt+AEM+eCtaf96D 1gX5bFkXQyn4DbaZbmO8RV/5ZuY9qJzfNeL8Hcq1wcANeLjkdkVLHMiHTHdrmstyxxg== 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.53 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 8448B606A321 for ; Mon, 9 Nov 2026 21:46:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8448B606A321 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-f53.google.com with SMTP id ffacd0b85a97d-490a0e72588so737606f8f.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=P96htzBWeb8SDcuQORC1U8jvt3BAK+9PbrPYKSBtE10jZ1igER/w+EQqgWhGstK++5 xK0zjnOEgeyMK5JHJ2OZgxdcNY/2DjwNt7S1xp0kUmVeuhXsw9RrkuqXACdT+So7ywX5 E4wOTR79MS5MBVfb3m4fnSmLyyCNixG8RiAwqbpYhorE4SftiQ2uCph47mYBErgefdW9 JpvFigZTMJwka+k6H7Q7QUd+DkSnqKoyn/8X3503fOq0ecV4etkmpPFf/m9BzgPGHClL 7zZ6WQTwo+6Vtv0nG3QV01VLFduIljVLD9N3vEC4qLm8iRK6K0zZ+IkJOmsCEutjpxd5 /+Yg== X-Forwarded-Encrypted: i=1; AL+hErHTA9+h+4YT4r7CAbznkWYRL4wxT8Q6ysQ/b4/NVMj2+gAQuS0hJ9DxtZcqtQXvSVph3ILXOc0eItfeW4na@vger.kernel.org X-Gm-Message-State: APuU4Z/eezfzgg/pfoJPZS+In0AeDKgQKn2ZyxKSwPTJlq2ETPj5ZDbM E1Hq+sQ8paCqY5PFb999H6Fnrs+iAOdBasAM/xVLGukn1bdrBzqoZ91Q X-Gm-Gg: AYBFou3xv28ydsZVj88esqPvzK2cM59ukRsjQ4znlr7z0dBtn2l7u9DdSLK8YfZuNUr ZxIV8ufsRFJCzy3uwW+IgUhHH1hNqos+UmcpbuQH7NSbwT29FFb+Y/vXMgxLQJtaZwNa0+LVURM F2HKrVE9/GvjbJpnemfok7WjkKZD0ZJNm834izF19FlywJcYzpsr1DUL6vNVvCFGd+qf2aHdeiv CE3zfsE/3p7X76VJskNp/qBigIkepsm4qwW/TKL6g2xgWxpMeG5+uaTMkMynkZe4A2pLv3YfNjX Bbi2/TtwIXMOwRBSjEsBi+AjNA5ACmaItWsmazTyyYF3LyM30eWPOQieIrdZBghuFzd+o43G9Du SUbkJpVpG+RFGEEzq/ktkB/HjuIi8vP52YqQYacP8IfwlmHqoKpvprzxIw+/a2C/0tltUJWJObl ZSM/RQzqunuFXfeSoodoH6FJzIa4KNbd/YfvQicpuXawS9WddVht7mx9AD1Y2r+Kq/Ve/OP19XI zzHHX05dZfLLbgIP8fE/gh8XaV94v8WKJvQ7dAGnFbs0/uRXn/acBq4ibohX569joHawpMeVM1z s1o/ZLRFYofduyvzGs6KkwUwJm47ITMzPW/y7ArBVmVpbI0zyGLDAo4dB08zZXFrmA== 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-modules@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 >