Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp5229983rwe; Tue, 18 Apr 2023 04:07:44 -0700 (PDT) X-Google-Smtp-Source: AKy350agdpyJ62iV7rU7Es7pDl684R3SHLNcksbxhbKSODM1pgFNt3UhTAeRNiZbObHHcaQdjvE2 X-Received: by 2002:a05:6a00:851:b0:63d:2911:3683 with SMTP id q17-20020a056a00085100b0063d29113683mr6100160pfk.17.1681816064622; Tue, 18 Apr 2023 04:07:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681816064; cv=none; d=google.com; s=arc-20160816; b=CCrmg8l2SyFVi0/zSRDAa/FJvny1iLjXddEADGAdaPmndDGLXMGdMkOvA6tR5tkSHk b2zEuh+yYFzRW5oKNdAyEXgakteSv3yj7ph6C+u8W9j0V6S4uBS51nngr6akMnK27rnx kj1BdOjWSKQcWWyQ4qY2kYLrl22XkI0EbKIrdL8X2oHou2uYc3yGOOk4RzkC7y5MBL8X wTH4exKX7sk0AaQhwh2J9o7O2VqyrENHpQnu2zWu5OZg/MWPH67aTndaIT0RWXeFF22l rfeBRPboGceQYGeVgI8kaMbKZbUm3EflinoNj1rtLYxZ+BDEhVMASFBiqqH1cD5D0kSM WmJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=gBX9EasVaKNxkJCl504QAhCseYYAHNdKolNALr6Hb4o=; b=MiHsW2q69NCmQs40MBjhWjNzayXJBPRLhwC3LCuPlYe75J3SiMcapIivlyBSWVYLTA c6Vc9tYFV5e3ly1dcGfpkQ+x4uq5RHk0Fzqz9c5xP/2YLJX65YIMZ2Dsl9WURZRiXH5q YxiFGz025TYK5HBoQiViPEu6uibcisWPIqgxBOLmCci4sPQh47ZOqTiu8uxEyQrb+kxv FqzG0gEsP3hO6MznTupHDfJ9ikeZl75nmOqDOm1iT8gmcxaD9+M1xC3gd+8s/alKWa/p UHtso+d18XzP2uT+wgziyeNUtFYnn4KTrJsUGoFfUdJEl7qsKJgKJo1f9n3hrVvQPDsp aRkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i68-20020a626d47000000b00639cb36bb82si13477613pfc.362.2023.04.18.04.07.31; Tue, 18 Apr 2023 04:07:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230025AbjDRKvW (ORCPT + 99 others); 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 X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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