Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4691448imb; Wed, 6 Mar 2019 21:10:40 -0800 (PST) X-Google-Smtp-Source: APXvYqxueN2Df04SF2PqFtfFUPkmyx8UxfpYsnkjXoSdgHC/KHitSmo/YDir4yeNCa7n+EFmY9zY X-Received: by 2002:a62:4743:: with SMTP id u64mr10774821pfa.95.1551935440616; Wed, 06 Mar 2019 21:10:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551935440; cv=none; d=google.com; s=arc-20160816; b=rMBsTCTgVFwKWX/boeIAgu4z879One4UALyY0nM1DOKxH621Rscjip+p0PelgVjN6Q 5pQv6/DMMw8JcJwY/yPlkDdGzRnyJDilyU2RjaQVqYEotQgq5L7oaJ2YcUyBm8Kxf+qt PbPhAcsgtrAuUkTE5QT9Z5L/Mb5OMNtrHW0/7oDkkG+MhHHepsTZYEYIrs2r6vmHUg6Z GIT48FRHxf23vaqnTy352yVPE6iJXCnf1QfqkJF993IbzargDZCMmRZqpOgoupMm25ge 5qvYCzmAyfCxuARGWTvtpBp3+tT/PYZoIegZFT6cr8olTn3Crst+OTMNct/01SMe55WB jSAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1xLq0mXH8E/9KmncM/lk6Pz3t5zTQb4hBseR0b9hg6Q=; b=DDrrR8ZHRp45odsJhM/v3Is5o7ZaKM+VXPxcpw2VAFHPhZTg0htIPyLWNM1MMmZh5V dG2fgp9rNC8jOJ5JfkdozZzttAYwIvnurjS7PVof8pkJGkqt/GnU31hZZu90Tq2NEh4X peOQQMBjwgUZVqrU8E/rs1xoDxITrcHiELbzb9Xw9RRVcJIWc4o6xVptSiBYwc44VKHS UD03K8hSzJEvrCSggBPH/zLpSzP8HSrd1DeuQ55LYgh+p61+EeBNMnk3ghyUnRV6rgqs yZBYLPosKO3IN7AMB7byQqeHWiZkxY4kNqOijaXDeDfkc2dCuld7tRUj5bbxq1fOXgjf S9qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=f65Jht7p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id b27si3022056pgb.366.2019.03.06.21.10.24; Wed, 06 Mar 2019 21:10:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=f65Jht7p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726057AbfCGFKH (ORCPT + 99 others); Thu, 7 Mar 2019 00:10:07 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:37935 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725355AbfCGFKG (ORCPT ); Thu, 7 Mar 2019 00:10:06 -0500 Received: by mail-pf1-f194.google.com with SMTP id n125so10481377pfn.5 for ; Wed, 06 Mar 2019 21:10:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=1xLq0mXH8E/9KmncM/lk6Pz3t5zTQb4hBseR0b9hg6Q=; b=f65Jht7pxLoXPy7xu8kOmJ8UALdo7vSY86UyDWOAI0AIGGGxXqmQYjLyFbxjx+N5Aq cxwVRo52aRCIr+zzuDElW/+n3eHlcgi4+uZZ+tMe1IypNOAJiS07LZfweX9kWzHeAnNq SECoCtKBH/741HKdt53Wi/aPyQZO5z6AB7s4Axu+sb7/S4ngqAdqFbV2s0PlJEI/3+Er c3Xbl6Kd32qbz4xTkAeLJJo62ZlaPTprVeUcR1ZyqyECUeG9QWoApmj4xZJF8qRmjESS y9svyg9P8lFx3t9yKgzUuPs/hOOFJEufWUeoagPHqj+IKm8lSIArfLsXkpVNUBwtjdzF hpPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=1xLq0mXH8E/9KmncM/lk6Pz3t5zTQb4hBseR0b9hg6Q=; b=ZSCfJtXi8hXtTor6e+HGfOQITbBA3yldtpJKWWmH4+wCWM5VhWCm3YraZ09QCqCm/f Bb9C/r2iGRgsiNAueRtCLXH3X+0G/so0NalpOjDAN8AX1CuitAVDIO7uq/whtBlGeiti ag5byVKRLI/fQoqJBb9bVR1tpuPoB8ss4nzPd7fvceQ4jbjOIHR027yM2q3nB4TU7boi cMIxtJa9RnCxTklrrAgL1oiX6Q2lqlt/DSZjSqvpEkVEuTqmy09CY3j4HcYBWX9lMCPV fA++ABWNNph9Zh+np/Tfd6CT9Fbpapt4t3Cj3fUO/z0HIcCmC2fEbK3chPaa2llvCxf7 XsYw== X-Gm-Message-State: APjAAAXxUYLuZYnKRi76X3glM0o8eD4BzAFCqqiQGyRRaSqNL93Klvuh nxinqcriI5JZ0yR8yvoctBg= X-Received: by 2002:a63:5d48:: with SMTP id o8mr9797986pgm.297.1551935406038; Wed, 06 Mar 2019 21:10:06 -0800 (PST) Received: from localhost (c-71-198-144-65.hsd1.ca.comcast.net. [71.198.144.65]) by smtp.gmail.com with ESMTPSA id q62sm9111473pfi.183.2019.03.06.21.10.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Mar 2019 21:10:05 -0800 (PST) Date: Wed, 6 Mar 2019 21:10:03 -0800 From: Richard Cochran To: Arnd Bergmann Cc: Thomas Gleixner , Miroslav Lichvar , John Stultz , Xiongfeng Wang , Stephen Boyd , lkml Subject: Re: [RFC PATCH] ntp: Avoid undefined behaviour in second_overflow() Message-ID: <20190307051003.scr4us4gktenthyn@localhost> References: <1551835710-53773-1-git-send-email-wangxiongfeng2@huawei.com> <20190306095442.GM21520@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 06, 2019 at 02:37:21PM +0100, Arnd Bergmann wrote: > > There is also y2070 (many RTCs), y2100 (some other RTCs, especially > those that assume it's a leap year), and y2106. That's okay, Arnd. When the time comes you can come out of retirement and cash in, doing Y2.07, Y2.1, and Y2.106K consulting ;^} Cheers, Richard