Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4465681ioa; Wed, 27 Apr 2022 04:36:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIRTXJif8244VuBnKb948P+gXp4UGHEeKQP2HGpvml1qwyKNurt5Bx6B6ohMYYG9U38YSu X-Received: by 2002:a05:6a00:b51:b0:50d:5b6b:d66e with SMTP id p17-20020a056a000b5100b0050d5b6bd66emr8114859pfo.22.1651059383006; Wed, 27 Apr 2022 04:36:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651059383; cv=none; d=google.com; s=arc-20160816; b=XcBimF3AScqIMPgUb9qVHjqarBGVb6UdKAMjOiuAIsyMcroelzMMabFv7Yb6raJYKt lqhDfzIgz0QuKcZJDssQDMFp6FjRONzbNdnxGqXUY6iWDp0LQ0dCc/8RFdpMxMP8LpGg cTI059xxXRgul2PUUUgqUhD0LfaJk2mE894AZqNjucAk3gpIBiG77Tgr6iUFXLzkJt39 PdxS50ZrGwR5QPwLd2OuyQ9LQHIOyida+dxoFzIybqVAk1Lpp6U/ZGyQEKVejNsalEmw 2Ckq0x2amsSgX/uIYIHUKSYP/q8jD+P49f5Y7WiQgT3uQfkhPO5YUJexi6H95gCLWp0U Ohtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :message-id:subject:cc:to:from:date; bh=ReduwrI3LTptSKjJC5f8xjn648W5PxF5xhyC/1yXwOY=; b=o26zEy83mbNzvsJXq5hy25fW8KWoRevEQr58gdQBlMu6ND1tEoHhEvW6o9AW00Y6rq wo/IkCBJkEMSR5xVFAcsohHfW+Kv24MH+3TuI2dw0MvtaxvVf+wJ5dMqigbhTW/KxqMN ADjPV9zp41xxc/qwkstkC8lWLG8SSU5QuAXGm+FhIfgXCbmgvPT1jFjFlb+zAEE40iSO tbDk2pLXW5CVp33pDvrOj1aEHlN46KuGUHcaQAKbVk8w/IBe1NJH94zgA1q9v9DaCXuK mgptPdLK0koHdJsgNLR7jvBz3LiJcSuQ4G8isiYTQNLsm0H1/t03CyrECo3U/vmSs9PB 9x8w== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id l19-20020a637013000000b003aa3698e98csi1407172pgc.15.2022.04.27.04.36.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 04:36:23 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 773C1388555; Wed, 27 Apr 2022 03:26:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234960AbiD0JGW (ORCPT + 99 others); Wed, 27 Apr 2022 05:06:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234870AbiD0JGU (ORCPT ); Wed, 27 Apr 2022 05:06:20 -0400 Received: from localhost.localdomain (unknown [219.141.250.2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2A4EC8677 for ; Wed, 27 Apr 2022 02:02:50 -0700 (PDT) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.15.2/8.15.2) with ESMTPS id 23R8ss0F006841 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 27 Apr 2022 16:54:54 +0800 Received: (from root@localhost) by localhost.localdomain (8.15.2/8.15.2/Submit) id 23R8sVfJ006840; Wed, 27 Apr 2022 16:54:31 +0800 Date: Wed, 27 Apr 2022 16:54:31 +0800 From: Li kunyu To: elver@google.com Cc: ebiederm@xmission.com, keescook@chromium.org, tglx@linutronix.de, oleg@redhat.com, legion@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] kernel: Optimize unused integer return values Message-ID: <20220427085431.GB6812@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,FAKE_REPLY_C, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE autolearn=no 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 Sorry, this patch is incomplete. I have the following ideas post_copy_siginfo_from_User32 function can change the integer return value 0 to void return type, and its caller return value is based on it. Can the return type of related function be changed to void. If you agree with this idea, I will resend the patc