Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp164593pxk; Fri, 11 Sep 2020 03:27:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOtGCexqU4VPJ2/5F/yelTojAG5uP50i+hp6ibEmHSRKQ46zqK0Wuf7g/N1gx8HI1J1zdp X-Received: by 2002:aa7:ce97:: with SMTP id y23mr1273069edv.128.1599820049475; Fri, 11 Sep 2020 03:27:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599820049; cv=none; d=google.com; s=arc-20160816; b=p1CVuWF5v097qoGzb2GUReFCcK8rE1JB3G6BvHkMnTTCBkGomT84/XMA/Ue3DTnahX CBIPmnZOqO06BodySwgJV+H5V1Z/SBs4eMGsh2QN5S4zf1XrM21tiaCx6B5t8ixtXO7a 6dVYx+ipm17j5BngYyva2cMYkrB0BqbCbCkmNszk/S/9mp1zJj1TPd16jcCJkBAS/w7L qMAu1Sev6Yf2EwqtKJfVEFKpZsgNuxPD/2bAuWz6/GLmy+aVbaoNgUzcd+8657eiPYek T9EglRDAeEF2L314QASPnzjt5o3Pymoz3oRSoDn+aGKVtw8jc5ACKKGZpKloSZYJ2zH/ BAGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=21EoBCl87XC1NO2i6drkzML1/dr52jA/hARHSp1Fc2E=; b=Q/LMxFKG9GvsYFH4MJvmiMy4P2uquhQlugxS4DGpgWm0GTIrRwk0Kuqg3Ak4HEcIrW yWs2cBjhUtRIRqzTvB3b/Raa1fGstG4H0qeGB0eO6+76j7sxZp9bNOioJ4nUSjE1XusS s/HB1DrYKvnUaWI00oLzjpkQfiGJY9VUHFzs38EKmj/IcARaLKwtsCHu5RDeDkMfyqvg kewRjztyJ2qhRM/DgiAfDciRPm9kwwRwJWbE25mltvs8OxWFlKXTtOqIkUPnR6c24HN4 lJpYrSkmaqyiHUFG4pwCTCcYMwJ6eJUJ+xMbRAa2lNQqAhzgcB3ZVe4bXwqNmYWNnK3C VgVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=P1+Ed3W2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n12si966852ejx.468.2020.09.11.03.27.06; Fri, 11 Sep 2020 03:27:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=P1+Ed3W2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725932AbgIKK0G (ORCPT + 99 others); Fri, 11 Sep 2020 06:26:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725832AbgIKK0A (ORCPT ); Fri, 11 Sep 2020 06:26:00 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F12AC061573; Fri, 11 Sep 2020 03:26:00 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id a17so10951611wrn.6; Fri, 11 Sep 2020 03:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=21EoBCl87XC1NO2i6drkzML1/dr52jA/hARHSp1Fc2E=; b=P1+Ed3W2Klb359zDaQ3VdPbuJ+HCEc0FZvDORcWLr8ImmEG3lfXuoxQbgAJUAWnI7g UkxkLq68QJEaTV1JHgCG3r04AT2d9JETgs+EC5tRWU6M3h/FonWEjln6nKzFykhyd6KD gSDGPyD69gbeiiEC3W+nthUWqXN4/w1OVqDubGIzyl/a+dn2ONXG64eGETL5V+EHoIEf vvIi+FGAlvOunpbfGvt5qgRJm+lrOQktTHW98lemYBz0k2LB7EqdhkcWngdfapeuGE2x lWQv5fp5AvFMrN80wRU6QljgrEQaYlofLC+w7lzEmoi8Tgd1jN7SBMqL+hIpYCrQDELz KT7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=21EoBCl87XC1NO2i6drkzML1/dr52jA/hARHSp1Fc2E=; b=JtavHGQ4VnZMd7SUuAI9kD3vzEh+xPtVsT8u2cmHhnFbhRuRaj+ZhdtKw9QDMFxO6A xqKbsl0tYjeBzsfSSGDpdCk+Yn8m6qpTe77/3dsP0v0yqnZW6L5caDIxtn5PJ49tYqwR oTUVkSQmTD48XJDEKb60K5ILgi8KYxr5ZN3ALV890wmOeIdPX4yHrHsY7536hwzLIfx3 fEG9DEOlovJrbPrgnp5AVq3EbYLnks56fsuQ8aohpganvjVe+rAJ0dSoE5xwatf9Xt3N RtUUAqTFJlQljmkc/rqM7taBsxqYd1xbAk/XpUfKxRs5lUM1Wpn823YfRdYAPWYxor44 jV3A== X-Gm-Message-State: AOAM533mzUAodNFl7rt1VD/Z1LbbZfqxZohSKWivrjE0aDG5jDm9GyiW uw4fHUVKGqKerW7hQz0jp8MhdqBvcvE= X-Received: by 2002:a5d:4842:: with SMTP id n2mr1389314wrs.260.1599819958504; Fri, 11 Sep 2020 03:25:58 -0700 (PDT) Received: from [192.168.1.143] ([170.253.60.68]) by smtp.gmail.com with ESMTPSA id i3sm3675810wrs.4.2020.09.11.03.25.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Sep 2020 03:25:57 -0700 (PDT) Subject: Re: [PATCH 09/24] clock_getcpuclockid.3: Remove unneeded cast To: "Michael Kerrisk (man-pages)" Cc: linux-man@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200910211344.3562-1-colomar.6.4.3@gmail.com> <20200910211344.3562-10-colomar.6.4.3@gmail.com> From: Alejandro Colomar Message-ID: Date: Fri, 11 Sep 2020 12:25:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michael, On 2020-09-11 09:48, Michael Kerrisk (man-pages) wrote: > Hi Alex, > > On 9/10/20 11:13 PM, Alejandro Colomar wrote: >> Member 'tv_nsec' of 'struct timespec' is of type 'long' (see time.h.0p), >> and therefore, the cast is completely redundant. > > Good catch! Patch applied. > > Cheers, > > Michael Ping :) Did you really apply it? hehe Cheers, Alex > >> Signed-off-by: Alejandro Colomar >> --- >> man3/clock_getcpuclockid.3 | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/man3/clock_getcpuclockid.3 b/man3/clock_getcpuclockid.3 >> index 283f92557..050d7ad13 100644 >> --- a/man3/clock_getcpuclockid.3 >> +++ b/man3/clock_getcpuclockid.3 >> @@ -154,7 +154,7 @@ main(int argc, char *argv[]) >> } >> >> printf("CPU-time clock for PID %s is %ld.%09ld seconds\en", >> - argv[1], (long) ts.tv_sec, (long) ts.tv_nsec); >> + argv[1], (long) ts.tv_sec, ts.tv_nsec); >> exit(EXIT_SUCCESS); >> } >> .EE >> > >