Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8950759rwb; Thu, 24 Nov 2022 06:19:00 -0800 (PST) X-Google-Smtp-Source: AA0mqf7jkzBvKL6K4S6eNp6402nn5Le2vAZDhvmNSLNnDMXHe3ouQWGdz2x6uE32Elo7zoVa2I8y X-Received: by 2002:a63:d117:0:b0:447:ed69:761 with SMTP id k23-20020a63d117000000b00447ed690761mr11537749pgg.181.1669299540336; Thu, 24 Nov 2022 06:19:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669299540; cv=none; d=google.com; s=arc-20160816; b=MoY5Eu6Kg9Y7GC51wOiAKIHAg5ItbeHLXYQ43D/ewsroq/rCnTlS79Fzd5a8nNaF/U VH8dVa+XfSaNV6I1NAn+JHJ/QHm6OF1BFuRitA2kDda+3q1+AE8KnwniLS8EI7SP6r0x 1rY3S7n4lWjzPRM+z5ao2NeBOsupDCqK+cmbpOODRDM9kO6LdjqMpD6fJvvGAuNeVLR0 hE90hRGkkpChua42Sk0WoTchdsyJPpub97RsayuahQcDh2FrZKpqff8uHI3W+rAHXBQO o/c045j6mYF3lTT+LCnlx/26Z2fjj724OWYbU99yyAIgCEiZpTXecKjjhFImAWUHNmE2 c+uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Cd/j91T4ds4Ygk5HLbttLJ4hnH5nZj/Y6KxRvZhTdZ0=; b=rc42d/Q9WxODQb7hRjcKjsx3pBLZNr4LGbF3SFQ6auSjPuZ2zLKK7/ula7fH25b0C9 gxLgEZ8WmeUrADP6T2hv4T1xpOhetFe/8mdaRvgKwG6A0HxEO6QIfJguuQs7CQxpPpKh UfAxkzUb62y5WytGdh0AJPwgIwxxH6TqqkLRblPoc9jxP/k+akQw296AHPf4VOslqZ1w Za56f2hkcTHhP1jQ3OWJx9FHQ3GLaT9+lUyKfLhCbZsKlBNCLMLyewWxkQNsZa73fozm rI9kN2zRvjnzMIsCpcxU4tGjXPlZ8WM9BJrVgGOQZonWUV+npjOZ954q/mJcYEXSqdhj stfg== 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d32-20020a631d60000000b00460b109a025si1328254pgm.232.2022.11.24.06.18.47; Thu, 24 Nov 2022 06:19:00 -0800 (PST) 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230302AbiKXN6E (ORCPT + 86 others); Thu, 24 Nov 2022 08:58:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230295AbiKXN5u (ORCPT ); Thu, 24 Nov 2022 08:57:50 -0500 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D118912BFCC for ; Thu, 24 Nov 2022 05:56:53 -0800 (PST) Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4NJ0035YXzz13Kht; Thu, 24 Nov 2022 21:56:19 +0800 (CST) Received: from kwepemm600014.china.huawei.com (7.193.23.54) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 24 Nov 2022 21:56:51 +0800 Received: from huawei.com (10.90.53.225) by kwepemm600014.china.huawei.com (7.193.23.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 24 Nov 2022 21:56:51 +0800 From: Zhang Qilong To: , , , CC: Subject: [PATCH] eventfd: change int to __u64 in eventfd_signal() ifndef CONFIG_EVENTFD Date: Thu, 24 Nov 2022 22:01:54 +0800 Message-ID: <20221124140154.104680-1-zhangqilong3@huawei.com> X-Mailer: git-send-email 2.26.0.106.g9fadedd MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.90.53.225] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemm600014.china.huawei.com (7.193.23.54) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 Commit ee62c6b2dc93 ("eventfd: change int to __u64 in eventfd_signal()") forgot to change int to __u64 if CONFIG_EVENTFD not defined, this patch fixes that. Fixes: ee62c6b2dc93 ("eventfd: change int to __u64 in eventfd_signal()") Signed-off-by: Zhang Qilong --- include/linux/eventfd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/eventfd.h b/include/linux/eventfd.h index 30eb30d6909b..3cd202d3eefb 100644 --- a/include/linux/eventfd.h +++ b/include/linux/eventfd.h @@ -61,7 +61,7 @@ static inline struct eventfd_ctx *eventfd_ctx_fdget(int fd) return ERR_PTR(-ENOSYS); } -static inline int eventfd_signal(struct eventfd_ctx *ctx, int n) +static inline int eventfd_signal(struct eventfd_ctx *ctx, __u64 n) { return -ENOSYS; } -- 2.25.1