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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 554E2C77B71 for ; Tue, 18 Apr 2023 10:51:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229833AbjDRKvW (ORCPT ); Tue, 18 Apr 2023 06:51:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229664AbjDRKvV (ORCPT ); Tue, 18 Apr 2023 06:51:21 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 88850E49; Tue, 18 Apr 2023 03:51:18 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CB347168F; Tue, 18 Apr 2023 03:52:01 -0700 (PDT) Received: from [10.1.36.30] (FVFG51LCQ05N.cambridge.arm.com [10.1.36.30]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 737073F5A1; Tue, 18 Apr 2023 03:51:16 -0700 (PDT) Message-ID: <1cfcab69-cc4d-2038-2ac1-be241a547639@arm.com> Date: Tue, 18 Apr 2023 11:51:15 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v2 1/5] fcntl: Cast commands with int args explicitly To: Al Viro Cc: linux-kernel@vger.kernel.org, Christian Brauner , Jeff Layton , Chuck Lever , Kevin Brodsky , Vincenzo Frascino , Szabolcs Nagy , Theodore Ts'o , David Laight , Mark Rutland , linux-fsdevel@vger.kernel.org, linux-morello@op-lists.linaro.org References: <20230414152459.816046-1-Luca.Vizzarro@arm.com> <20230414152459.816046-2-Luca.Vizzarro@arm.com> <20230414154631.GK3390869@ZenIV> From: Luca Vizzarro In-Reply-To: <20230414154631.GK3390869@ZenIV> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On 14/04/2023 16:46, Al Viro wrote > Why? > ... > Why??? > ... > These two are clearly bogus and I'd like to see more details > on the series rationale, please. Mark preceded me with his reply, which is perfectly summarising the whole point of this series. – Thank you Mark! As for FD_SETFD, yes it's not necessary. The only reason I changed the variable was to denote the argument as being classified as an `int` as per the man page. If I were not to change it, it would have been the only command with an `int` argument not to use `argi`. Therefore it's also for consistency's sake. Hope this helps. Best, Luca