Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1624648ybt; Thu, 9 Jul 2020 11:16:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwncFj8SZKzuPHqyA05ky/3C6YfyhcvpAKbtlVqIL+zO9d0mjkmEcCSftHWjPoMT4WvLi4X X-Received: by 2002:a17:906:a081:: with SMTP id q1mr51016484ejy.499.1594318603670; Thu, 09 Jul 2020 11:16:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594318603; cv=none; d=google.com; s=arc-20160816; b=CgSSwdjDTKzm2o19PNNnhb4EZldqUzvbXi6qTL2pGLIhpS6q9I9Rk/mwgqfNqppDWG O+UNfcDAWv9HdAzSy9cwTZGLjV/2We5+UQFOGLfD0Mpni9tIZRCNxGMqvklHRr0TeKet pC1ZaQwDO3k1tjjfOyFr5GYdIW398UhBlReY1Fsf/ncJ0eFP+m1J+p9lsvCK6JptDk1+ NAetBuBvVhAqK4yeJ4Ch4/2fk17nNOaYZvDZZ/xIY6AqYaSuUaUIdfuX2svBHcuv5U1w /edTSHvnQPJmgHHBvv4jOew6tJ0Fz/G/WsebKn8CwixPJGpjnYNXuJL1sz7R8biZPCF5 LZeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=QQ4MFwKX0KeW+zmPJf6dh6Z4HEUniPj2BzYhpEhaY5c=; b=vCR0yXPAQAzhdeB9kOfmB8P2k5NO3bQh9a7IanwDVybT2DgCi43UEAWjX927oKDV9L Cy8UuDhYCCZ0gTRgpg2Ckt0liwFoYRRWjl788hphVsP1GS5jqRLEjq9UVfpQrdiqsfRi KZkTHAm/37LSpX9oSTzQtwKRchm4VCGhgdQKWuO1uYWdU8noc7rJI1tsUj9uSUgFXKVj cWMyjiGxsDGYZlLsewwmAEdytbdEcfvNZcYZ91VVOZnBkFl5biF/Ye1U+J30x9TqSspq 2OBynUq8LTksxN4I5JWpfapOy8lrh9veGIsD/eE78GQDZd8P2C34gvEfaNCV0JYClI1l aEwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=H4yZEP+R; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h19si2342297ejj.80.2020.07.09.11.16.20; Thu, 09 Jul 2020 11:16:43 -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=@linux-foundation.org header.s=google header.b=H4yZEP+R; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726721AbgGISNw (ORCPT + 99 others); Thu, 9 Jul 2020 14:13:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726684AbgGISNv (ORCPT ); Thu, 9 Jul 2020 14:13:51 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72177C08C5DC for ; Thu, 9 Jul 2020 11:13:51 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id f5so3450627ljj.10 for ; Thu, 09 Jul 2020 11:13:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QQ4MFwKX0KeW+zmPJf6dh6Z4HEUniPj2BzYhpEhaY5c=; b=H4yZEP+ReHmnQ8pPy85R6Z5AGImyoEWgzVC2r2MdX2eTlEN06eDA4bs8kmZRPf8ir7 nONwubENi3D4CIY0RGHiJrUqJ5uDrjE78F1DvfhsN5lZUpuci6eD15V+qTw0bDmuQk3U UFPBqV2teYZxvPtlwDGq03SOGObHpMBpQnzm0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QQ4MFwKX0KeW+zmPJf6dh6Z4HEUniPj2BzYhpEhaY5c=; b=KGn91q1nOGObu8AQ5s2wyFtLaklcwNTPOKT0n/L9NOswh8SVR5QUrQYYovq5eG6JTf glPFyP720jclfMbqUPXA3MFmLLEah8AoMDd8EoQbl8Tiu52k5eUnRCRh45ChNFFBXiNx wZlQwKOamqxorv2z2YHDJsklCG3/e8SV0ydo6RijtVOKmkRbUj5K5TcVT1VrRy9u6bZh TEWPLTo8Md4j0r/OylxtgO568eUPD56s3hc5wR34c2g2wQNVcRfI4bCc8FXYU7tapJqB qqpo+yE2tM9b9VdwPxQgQmgQKjykenqyEhKRAu6t5gI++5lJ5LvrqC7v6bqgH0q0GJDD nObA== X-Gm-Message-State: AOAM531DCxzrXFfBsUkfKkXp2YWSAffQwqoGGYv+aAFle4j3jwrWbuWK hn8ngcixycwvM46dEtp6KGQiccvqrF0= X-Received: by 2002:a2e:80cc:: with SMTP id r12mr32459160ljg.344.1594318429631; Thu, 09 Jul 2020 11:13:49 -0700 (PDT) Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com. [209.85.167.51]) by smtp.gmail.com with ESMTPSA id w4sm1048172ljw.16.2020.07.09.11.13.47 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jul 2020 11:13:48 -0700 (PDT) Received: by mail-lf1-f51.google.com with SMTP id k17so1720851lfg.3 for ; Thu, 09 Jul 2020 11:13:47 -0700 (PDT) X-Received: by 2002:a05:6512:3f1:: with SMTP id n17mr40988629lfq.125.1594318427258; Thu, 09 Jul 2020 11:13:47 -0700 (PDT) MIME-Version: 1.0 References: <20200621054210.14804-1-rikard.falkeborn@gmail.com> <20200709123011.GA18734@gondor.apana.org.au> In-Reply-To: <20200709123011.GA18734@gondor.apana.org.au> From: Linus Torvalds Date: Thu, 9 Jul 2020 11:13:31 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 1/2] linux/bits.h: fix unsigned less than zero warnings To: Herbert Xu Cc: Rikard Falkeborn , Andrew Morton , Andy Shevchenko , Arnd Bergmann , Emil Velikov , Geert Uytterhoeven , Kees Cook , Linus Walleij , linux-arch , Linux Kernel Mailing List , kernel test robot , Syed Nayyar Waris , William Breathitt Gray , Masahiro Yamada Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 9, 2020 at 5:30 AM Herbert Xu wrote: > > I'm still getting the same warning even with the patch, for example: Are you building with W=1? There's a patch to move that broken -Wtype-limits thing to W=2. https://lore.kernel.org/lkml/20200708190756.16810-1-rikard.falkeborn@gmail.com/ does that work for you? Linus