Received: by 2002:a19:771d:0:0:0:0:0 with SMTP id s29csp1268752lfc; Wed, 1 Jun 2022 13:40:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbnAZErd6QOo3xqz62nHPPwPf8hj7Zkr4mgH7YNZGcggRyvbpcVkfE6rAKQQy7MwSje1Ct X-Received: by 2002:a17:902:a9cc:b0:161:3bf4:9047 with SMTP id b12-20020a170902a9cc00b001613bf49047mr1233441plr.137.1654116016163; Wed, 01 Jun 2022 13:40:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654116016; cv=none; d=google.com; s=arc-20160816; b=QSYX5jZAdouiALcl9o2gav3Nva2XA/i5qzvqEyEGAooViQ/rR0/jSC/swd3POYuLo9 peLhdFDxZkAoIMMA9yPbSUyGb2Nt2vEHzcYuQickrNe8ZCLgQejfXQf591+2pHEQVLnA YwKCKAAfk4MCouSf08wtcHMQ13mDxwKROS8YsT40r6pw4eQ6NfE2Nq4tGczeric13rnA bUNSW9KGFYiOmoPjfe5zY0CJEfmlXbkF9yJmV9FkbTSg2twrvqUeTJBpLASXvkK7vRly aFzHiT1xwAO8HRMF7F2qwdU//NMsWHFaDac5psafo4ufxN41gJjsw/jxOltu5tZnvGCS odug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature:dkim-filter; bh=vageBDolnhTvTUz8OlYak/qIpkqe10Ke7/TPTPW8ls4=; b=FkA62fMM17rNKc1Ax5cizXtegK8PVIH1+QKH2zQWoEcbQupoIBZBn4Y2VNK33X46kb phu1Q3fW+C66tF3AKHvOow6fwHlgd7xfSNO0KaD/lyBJEBMB/qeVzeC4biBhMU8SDVus qqiUF4Psi9hbkDFNsShEvdgKQei2f+GnM0GNkZjv40HRVitAoqOOvjtfm7025i597dR0 C3wGKS9DVMkekgADuf2LY+Oa92WBGAj0zrM4seE1qYAJ5nnJofO7B1errUYWWmM32hI2 kM/BKRqJAOiXGXPmCPhFo20uQOJnZi8/yHlbaLz3exHZ9HKOhH777rHk/5KAN+QEpr+u q9GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="gS/SaG59"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id t7-20020a056a0021c700b004fa3a8dffa5si3652331pfj.92.2022.06.01.13.40.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 13:40:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="gS/SaG59"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EC92728D68C; Wed, 1 Jun 2022 12:48:08 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244332AbiEaGoC (ORCPT + 99 others); Tue, 31 May 2022 02:44:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231790AbiEaGoA (ORCPT ); Tue, 31 May 2022 02:44:00 -0400 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16EC56D1B9 for ; Mon, 30 May 2022 23:43:57 -0700 (PDT) Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20220531064352epoutp0466139856d0c761569132cb8b6ed27a79~0HYfixuu61028510285epoutp04O for ; Tue, 31 May 2022 06:43:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20220531064352epoutp0466139856d0c761569132cb8b6ed27a79~0HYfixuu61028510285epoutp04O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1653979432; bh=vageBDolnhTvTUz8OlYak/qIpkqe10Ke7/TPTPW8ls4=; h=From:To:Cc:Subject:Date:References:From; b=gS/SaG59x9pgfqB868EPIjrbA5XDzeH16KuHZnC3rjWMUwYtvVVp/7P+aOGMkFXoE 9REtimVQ55Af7p1HWV1Mzhqfa0ss/4bXKGDEczegSs62ZopNYCHhC5EcTsCXV5EMZe DSPOecnQxl9DR2WzyYIAnqZ3E49BdBgZv0qTVx90= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20220531064352epcas2p19487ad8137ccaaa40ffb910d25ae10e5~0HYfMwLP63165331653epcas2p1L; Tue, 31 May 2022 06:43:52 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.90]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4LC2mj3Z0kz4x9Pv; Tue, 31 May 2022 06:43:49 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id D5.17.10028.529B5926; Tue, 31 May 2022 15:43:49 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p2.samsung.com (KnoxPortal) with ESMTPA id 20220531064348epcas2p2168f11ba49e9a119219bebe18a769dff~0HYcCaSWY1021310213epcas2p2M; Tue, 31 May 2022 06:43:48 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20220531064348epsmtrp22e7aa0b86522856eb0983e4484469244~0HYcBmhko1906119061epsmtrp2c; Tue, 31 May 2022 06:43:48 +0000 (GMT) X-AuditID: b6c32a47-573ff7000000272c-b1-6295b9252ba3 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id D4.7C.08924.429B5926; Tue, 31 May 2022 15:43:48 +0900 (KST) Received: from localhost.localdomain (unknown [10.229.9.51]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20220531064348epsmtip120046ca9fc34675cb59a956a44e33a89~0HYb1dASM1634216342epsmtip1T; Tue, 31 May 2022 06:43:48 +0000 (GMT) From: Chanho Park To: Arnd Bergmann , John Stultz , Thomas Gleixner Cc: Stephen Boyd , linux-kernel@vger.kernel.org, Chanho Park Subject: [PATCH] linux/time32.h: correct ns_to_kernel_old_timeval prototype Date: Tue, 31 May 2022 15:43:46 +0900 Message-Id: <20220531064346.51677-1-chanho61.park@samsung.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrDKsWRmVeSWpSXmKPExsWy7bCmha7qzqlJBtunclj8nXSM3eLyfm2L Pyc2sllc3jWHzeLftY0sFps3TWV2YPP4/WsSo8eCTaUem1Z1snm8O3eO3aNvyypGj8+b5ALY orJtMlITU1KLFFLzkvNTMvPSbZW8g+Od403NDAx1DS0tzJUU8hJzU22VXHwCdN0yc4COUFIo S8wpBQoFJBYXK+nb2RTll5akKmTkF5fYKqUWpOQUmBfoFSfmFpfmpevlpZZYGRoYGJkCFSZk Z8x4+4y9YBpnRdunGcwNjO/Yuxg5OSQETCTObr/H2MXIxSEksINR4vaLbjYI5xOjxO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zMstSi/TtErgyZrx9xl4wjbOi7dMM5gbGd+xdjJwcEgImEvtWH2XpYuTiEBLYwSix 498zZoiErMSzdzugioQl7rccYYUoes8oMeHXOrAiNgFdiS3PXzGC2CICuRIHHzezgtjMAnkS P5ues4DYwgLeEtNm7QUaxMHBIqAq0XvHEiTMK2An8Xf5RRaI+fISG+b3MkPEBSVOznzCAjFG XqJ562zmCYx8s5CkZiFJLWBkWsUomVpQnJueW2xYYJSXWq5XnJhbXJqXrpecn7uJERygWlo7 GPes+qB3iJGJg/EQowQHs5IIr1XE1CQh3pTEyqrUovz4otKc1OJDjNIcLErivBe6TsYLCaQn lqRmp6YWpBbBZJk4OKUamHaa/Fy/0F8r62fWQXblp0X8N4z6eZv/ie7/ptazRlyHxfDAXPv+ o9JtKTd+yk3ex2CYcXnl3AnyvdUfvqVytH//kMm/VSZl2bfeF8vK7xxaekRJQ1OhYV7w5pbX lxgYec69M48LvpZW/PnuF51rj6V8Eiff8j5+KmZ7busXBmnDJznHl1vrrFVwEpPzvOrhKi2z u93qy5ldmc3Ve387X67ZUPFSsb1vV6lpXD9ra1iFeOepvQvD5kQf16r7e9Dv9IRimS9Xo/oX nt2R3rJv6xwTydmfl336+Dj/YFcK613uj4pt358VNiXeyn+/8jUPo8a5iDZ+polPXlyeeqRV /Hl15kaD58VXQ9/f3jLr8C0lluKMREMt5qLiRAA0FvOXvwIAAA== X-CMS-MailID: 20220531064348epcas2p2168f11ba49e9a119219bebe18a769dff X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220531064348epcas2p2168f11ba49e9a119219bebe18a769dff References: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 The function argument is defined with const identifier in kernel/time/time.c but the prototype looks different between time.c and time32.h. There is a review[1] why it was omitted during review stage but they should be matched. - The function is defined in kernel/time/time.c as below: struct __kernel_old_timeval ns_to_kernel_old_timeval(const s64 nsec) [1]: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1637458.html Fixes: a84d1169164b ("y2038: Introduce struct __kernel_old_timeval") Signed-off-by: Chanho Park --- include/linux/time32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/time32.h b/include/linux/time32.h index 83a400b6ba99..88c135d4c557 100644 --- a/include/linux/time32.h +++ b/include/linux/time32.h @@ -67,6 +67,6 @@ int put_old_timex32(struct old_timex32 __user *, const struct __kernel_timex *); * * Returns the timeval representation of the nsec parameter. */ -extern struct __kernel_old_timeval ns_to_kernel_old_timeval(s64 nsec); +extern struct __kernel_old_timeval ns_to_kernel_old_timeval(const s64 nsec); #endif -- 2.36.1