Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp580871pxu; Thu, 15 Oct 2020 11:04:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtFkaFZlaPd000NxwBLq+0DwTW3ojkNTJDyWyewPvJHpi+kLkErFOOykGsDAcoWYkKojNC X-Received: by 2002:a05:6402:13d7:: with SMTP id a23mr5485329edx.352.1602785050419; Thu, 15 Oct 2020 11:04:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602785050; cv=none; d=google.com; s=arc-20160816; b=ZE2oTvQYN868ro+HdxV61ifSAF7xQFzAiC3+FH6OcfAGm0HwbQ1iun0DRbc3h7laRR /bkSn8Rll6psS/v248q6u9qk1D0gPiVXi1Diil78FcrlB4YaPn05B/LVmbYTy3HtuwSw WbQ8D6BWLidBS/aid5R2dXMNVguqUsGDIxeCNgJb3u8cf+2BNBEPI1orxe9mcg04cBGh 82a5kkGWL4vbmXKpp6O182PPoOsBKY1JXwLtI7CVberrgNX4LwcfIk+dcz/C/OWilzYG An66zuHTLDTV9OtHH0zlrfpZGnwufJ6WQHnAAe6U2X8eDpf0d/656iWv9102M9uNwyWG MvbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=FAglLW2wBpEzHjMtiXzBklSvY/GxHkePOLyeT8viwgw=; b=V8fxBGsi+sLNQ9IRKjnT3O7R8DRgnKAwleWzselkHtRX8OdO5cW7+UuX7Ec+NV9qOl +9tgUrAJ6iQkZ71rGvWltWsvZh6HaSjuDDEJyi/SdVaFOxHTxbP0ACoOrPT2K3T7JiPM wUu4EGl+6hziGaiSdfoGh48dUqCFfYZ5GbY0jNcK9RAKqMLWKxdotvVTljfUI0BLHbs8 dcV14V6MFsTyDbaJa4PZAk9SQAYbVVkjyVbgoy8uB5w0YZP1EaWZLOpdmbnYwa+U3nPm VHCM5707eCoHq1QBAnQa+Ta4OuvbEwjU8a/5hJnxQT46N/4UPefDs9+y5dQnojYj1iAb FgLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=KbCIbV86; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o20si2734192ejn.279.2020.10.15.11.03.39; Thu, 15 Oct 2020 11:04:10 -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=@linuxfoundation.org header.s=google header.b=KbCIbV86; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730455AbgJOSBf (ORCPT + 99 others); Thu, 15 Oct 2020 14:01:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726157AbgJOSB3 (ORCPT ); Thu, 15 Oct 2020 14:01:29 -0400 Received: from mail-ot1-x344.google.com (mail-ot1-x344.google.com [IPv6:2607:f8b0:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77747C061755 for ; Thu, 15 Oct 2020 11:01:29 -0700 (PDT) Received: by mail-ot1-x344.google.com with SMTP id m11so3690511otk.13 for ; Thu, 15 Oct 2020 11:01:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=FAglLW2wBpEzHjMtiXzBklSvY/GxHkePOLyeT8viwgw=; b=KbCIbV86V0q6MPGXnuSbSDwhEIhEisoJmuPeyaSGapr4dBGdPJ6+8cPNg+2rdYBZB0 02QIgyAbj0XaqHKkxv4rm29sXy6PMavbw1XzGi+Qb9k0LHw4X4absBRbJgpy7Iyd66SO gXjpeUE5slOsRsLr5lmFZlo6KiJlY9Sul2N48= 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=FAglLW2wBpEzHjMtiXzBklSvY/GxHkePOLyeT8viwgw=; b=N59SZMk8s51j5F9D1ghgg9NuuAqBYqFexPKUg94p6WnWYmLX7pb9LdIaVJa9bCwDgm lMtxv8ZI8LWVs+U9cvxTnNFMZqjG0OdMNoNpqHlekT4ayqwQHzy4W/Izpicn4tQQ5Oni 7JeLdmXa9W5Lom2+CmfBBJKY2CDgTqAS1bdk5VoDoCgeUqSmdp6VqAQyvFIR9Lb6EQZX wXD+/0oidlAIxfwE8ykKt4mDKpZsf3sjLKD7mI8FKryBjRh5DE2dUp2rXdNa/jDEofrQ EzgHHKlOn+x7ZFUpGTNiHzc/EC3w6bXn/QTWS8FfUdxNFJgtxrlzaQNWLeTAGxGGjnyU txhA== X-Gm-Message-State: AOAM531Yt1hab/gII8Wji+OlEviXcMWzTB3c7AzZpxvJHzf8POwSDpP7 6tbq/3Smbw1vGoe6zIQYRtLoJg== X-Received: by 2002:a9d:4e86:: with SMTP id v6mr3612743otk.98.1602784888839; Thu, 15 Oct 2020 11:01:28 -0700 (PDT) Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id e3sm1744843ooq.0.2020.10.15.11.01.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Oct 2020 11:01:28 -0700 (PDT) Subject: Re: linux-next: build warnings after merge of the kunit-next tree To: Vitor Massaru Iha , Stephen Rothwell Cc: Brendan Higgins , Linux Kernel Mailing List , Linux Next Mailing List , Shuah Khan References: <20201015163056.56fcc835@canb.auug.org.au> From: Shuah Khan Message-ID: <2759fa81-630e-6395-b8e1-c743fb533700@linuxfoundation.org> Date: Thu, 15 Oct 2020 12:01:27 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/15/20 4:43 AM, Vitor Massaru Iha wrote: > 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. > Please send the fix in as soon as possible. I will go ahead and send the pull request and will apply the fix in rc2. thanks, -- Shuah