Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp323475pxu; Thu, 15 Oct 2020 05:04:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDeCJpUAhrOaGw6Pm5lCmyxr8NmbtYByYSfTIGPa8Jd3sUyOieCt+7V73hszk5zop08wo3 X-Received: by 2002:a17:906:ecf6:: with SMTP id qt22mr4007332ejb.386.1602763468571; Thu, 15 Oct 2020 05:04:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602763468; cv=none; d=google.com; s=arc-20160816; b=0IStW1WJ3dwcvpKhCZ0kBAtCGuuErYgcwv/Am/qkrM5Ou9Oz1Wv6Thq0zqDcIVeCsD sDZZt/GW7pY1G82jnLXoQUfFqdr6PSW2hpDvH97nyS1ovkp+qbhVKc4TDt9/zOjzV5kp Wl7WJ4X0n+hyHfBW6xyB5Qgncg0yoF9HzXOd51iZdPgxUbPgySPDapSQdCh5lSsdFQXj ZBI4a4XzPH/DheADpU+2nphrR5+a6RJ5n6+hppbJcAlxCbsLxWed2a2BGbNkpLsVKPkr +kKtBCNrkN2KQXNyM1WknpP37GE4veNEkfidV1inMf6kJooJMNkzGxRGJqjyoahttJ9Z eK7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=xmBW7vKSBqJFsplZSHcanCRxnO5k2v4wYTo/MjdHXlA=; b=IxZ8E6sRdBAgKlwwv2Z6zp8zHJ7EcQ3B98Q0VN7x2HP/a4nu34erkxORuGUJop9eQX Fpc3S7TEQFQMf1adYBu9cblygQoSpY20hgrlDG/glg5PFCzYKU+S9YHrx3oLAq3Uk5qz M5aICzTyUh6phnJb4569QsM/jtvnTTskNh+Yc9A20tWLC9xmAstb19Rr1VRME2TITkwj 5F4ry8JThp9XSw3T9gkz8cHTVQrpAP58LSrdt5aqIvWXF9wQiv9ilHs/jl+GeR3kmwhO RIJQNei6x8gfQcnVTIBOYpjCq72PYYGvPToUFA32MTMm0YJ+yLRgU9oldmERIersIKnt 1s9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@massaru-org.20150623.gappssmtp.com header.s=20150623 header.b="e/bUJWy7"; 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 t2si2006087edj.427.2020.10.15.05.04.03; Thu, 15 Oct 2020 05:04:28 -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=@massaru-org.20150623.gappssmtp.com header.s=20150623 header.b="e/bUJWy7"; 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 S1731220AbgJOKob (ORCPT + 99 others); Thu, 15 Oct 2020 06:44:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726121AbgJOKoa (ORCPT ); Thu, 15 Oct 2020 06:44:30 -0400 Received: from mail-yb1-xb43.google.com (mail-yb1-xb43.google.com [IPv6:2607:f8b0:4864:20::b43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC4F9C061755 for ; Thu, 15 Oct 2020 03:44:28 -0700 (PDT) Received: by mail-yb1-xb43.google.com with SMTP id h6so1847043ybi.11 for ; Thu, 15 Oct 2020 03:44:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=massaru-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xmBW7vKSBqJFsplZSHcanCRxnO5k2v4wYTo/MjdHXlA=; b=e/bUJWy7yaJf5qN+JzaRH3AABTJ1Th4jbeKJ3tKZLJkFZ2vtmY+ERE93D+7T1DNh4L 6upIyieo4bBg2olNvfK8AfucvDw7dDBfXoL4BojBYIYNsfC7BkoX/UBmCk2usIq1VobJ c1cNXUXJqge0jeuNDDYwc4zPQQmpW0DmoCe9JqKBkydP/X/OWu1ZPF9Lx33+jdnnvnv+ w+k7p2JxIG1WPVU+BRr/uRsTDVtyxYVY9l/C7vB5omMNAr1HIEhjDhrHNCFp3pMjkYTx yfPjVtHh+piZvKxKO1bn4IeMM/ctwsNGtWahD0es8z3MaHZ80vxII95UwGkvIBkTklSL seVQ== 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=xmBW7vKSBqJFsplZSHcanCRxnO5k2v4wYTo/MjdHXlA=; b=p6zUfHop878fiZPXWeQisLMhcHkk7g5w/KmL0C6kAuwC7WtHVz3GCV0AeNT11I5fPH w/+BCFDLlSUH8NyzKe6kj3vXIFsHMneT2/y2fHO+yIUbf+MDa+nMuSwlWyOwesJ2qmR2 lswKvZwjqIfq23Jqikc2nEs/piObBV2X8+Fm6WstpnVQuMXllGG8pdn6/B2h2C9cYWVH EKEduGZbzVyRG8regwp5U9IiGYmcRumCnJmZEnJXrD1P002eYgrlsXmZRhwPFX0u5Ael hyRS5jFBDX2CBe+uO4lbv1zpiIVrRiKWmUPZsM0yzvlUQfcG7p92ob+hsrt0boYeG7Df 9I9w== X-Gm-Message-State: AOAM533gxk9VTUCbVzqR90C1j/Pxe1R5O1HJ793/PS1ihOIOqO16ux6a 61EOUmFN5B+M9IgG803N9mAXbeeIEjqTu5Ly2eHdvw== X-Received: by 2002:a25:a484:: with SMTP id g4mr4150039ybi.112.1602758667745; Thu, 15 Oct 2020 03:44:27 -0700 (PDT) MIME-Version: 1.0 References: <20201015163056.56fcc835@canb.auug.org.au> In-Reply-To: <20201015163056.56fcc835@canb.auug.org.au> From: Vitor Massaru Iha Date: Thu, 15 Oct 2020 07:43:51 -0300 Message-ID: Subject: Re: linux-next: build warnings after merge of the kunit-next tree To: Stephen Rothwell Cc: Shuah Khan , Brendan Higgins , Linux Kernel Mailing List , Linux Next Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, On Thu, Oct 15, 2020 at 2:31 AM Stephen Rothwell wrote: > > Hi all, > > After merging the kunit-next tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > lib/bitfield_kunit.c: In function 'test_bitfields_compile': > lib/bitfield_kunit.c:136:21: warning: unsigned conversion from 'int' to 'u16' {aka 'short unsigned int'} changes value from '393216' to '0' [-Woverflow] > 136 | u16_encode_bits(0, 0x60000); > | ^~~~~~~ > At top level: > lib/bitfield_kunit.c:129:20: warning: 'test_bitfields_compile' defined but not used [-Wunused-function] > 129 | static void __init test_bitfields_compile(struct kunit *context) > | ^~~~~~~~~~~~~~~~~~~~~~ > > Introduced by commit > > d2585f5164c2 ("lib: kunit: add bitfield test conversion to KUnit") I saw the problem, I will send the patch. Thanks!