Received: by 2002:ab2:2997:0:b0:1ec:cbc4:63fb with SMTP id n23csp500302lqb; Thu, 29 Feb 2024 07:07:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWsO89pT1l/2gMW55BP60Ky0kcAHLmiYJHD9goxPQ4gpqqjo3III4ygz1ofOg/yMS9J4r7XIaRHH+/bFNJ88XxGS8RN4AKBSj1i3xsrLg== X-Google-Smtp-Source: AGHT+IGEOPis7UR7+nf78+otmD0wJ0xRBx5isl+QW4QZ29XIDIU/waqiE4RA7roWJm+UCDigQyce X-Received: by 2002:a05:620a:12ce:b0:787:c62f:3fbf with SMTP id e14-20020a05620a12ce00b00787c62f3fbfmr2743291qkl.31.1709219244047; Thu, 29 Feb 2024 07:07:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709219244; cv=pass; d=google.com; s=arc-20160816; b=n9wuLH5i8AZSYa1oHRXaIaXystdLO+FnugixbLwzGW4gaRY+0NLQEr8AOPlFLtnbvT 8Ij/qr2Ygb2t7u9NrJhNmSIGJL3wYMgiYox+fs7eT3hiQSjHwSCQnk1gxwfspljCSCIF AwBXNMw2mz+Wt1WE45ocMe5uLRfb8sxalqap1WGv6tg4gK6OSPVAQd7JpJ8XGKCjcK+j n4aJaK3ln5sE3Q9hkg/0po6JkuQ1uf19zdM1WDy6Fyf+s/SBBuOLlh6+U9OcBQb1owPc apev/fedcUrI6tzhO/Q4Hswvc6Z7WFQqCJHXWY6FmRKV5hmY7gpCjQJcBEJ34KHPjmJb X2nQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=lUr9WwPm1bDr07bGVGyHcZBKICuYFoD9+zTSPH1u+LA=; fh=Xb1NbkDrmfyA65Ht8/d2L+W0yFrgbS3lT/C0SM7lHnU=; b=h/R3tgTD8cbU+S0dNn1+bwEdHeIvpG2cVlCINOqlzG4sen8ZYa1WmRNwKOA3CMeXqu DRPewMpmHcT2hbuHki2GjxunMGLkiaIBBfnoUE/+4yE/Xu48LAA7dmmDIYz7oDg1khLl jP8e/wKDAKOZDN3QJH98btqD2CZkvNbY8jHm7EExjTuRUyCjoc9DHoUYvIomal4MdfVX xywVoixIg6tdoxK/IIcaKyB+Z/F6KY7j76UbqyiIZakWOqCVPr9dYv/nWc/AZtXSzgnH JQtOyUMJFVqnPQb8Z49T/6rW9ZfCyZY9VfnRg/JbvVrRVfBWbY2V2GCFVoA8IDeR5z6j wXRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=YLcnSk4B; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-86893-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86893-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h7-20020a05620a400700b00787b883714csi1271939qko.711.2024.02.29.07.07.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 07:07:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86893-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=YLcnSk4B; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-86893-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86893-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 9C2311C216B2 for ; Thu, 29 Feb 2024 15:07:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C193B137C51; Thu, 29 Feb 2024 15:07:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="YLcnSk4B" Received: from mail-il1-f170.google.com (mail-il1-f170.google.com [209.85.166.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F41BB7D07B for ; Thu, 29 Feb 2024 15:07:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709219234; cv=none; b=BHSe/xfp3C3R701Ru3geiXjDc58Ues9TGDvjohYO6YSjAimyKMN1mfObXgBRHJSvuwEgOMbmBTBw8C1wu4kOiH2wMosfJu9CSPNGiFKZJNfT1C+9Qsg7fwboMh3NAiIUV5rJpjNjo5imWvYslKCB2LyGyW+B4+LMyKsWx69mHsw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709219234; c=relaxed/simple; bh=eQoYcoWIrFj7gRUjrrGk3RBO7jWfySCV0Qbg3y5bQck=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=X0a39X2EP5Xn1XCiNXMJibwolc7IPUzQgY3jqdUXUA2mUKowG9K2RMCHwXySt2/ama27ia/sc/F9OcTSNnBFD/QAOkgvQLWhuWISJByvdyZE0nWod0X84fuij8JICnJtcdP24i8zz9ooj1Ud4vvEedSUeAIa3Tq0U3naRwAQqMM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YLcnSk4B; arc=none smtp.client-ip=209.85.166.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-il1-f170.google.com with SMTP id e9e14a558f8ab-365b413549eso1400975ab.1 for ; Thu, 29 Feb 2024 07:07:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1709219232; x=1709824032; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=lUr9WwPm1bDr07bGVGyHcZBKICuYFoD9+zTSPH1u+LA=; b=YLcnSk4Bkqf+xK4M7Z0Fu/4wyMjkRvC+iSXz0JP2E56T1gksz21Vrqwhtr9wdK3xdZ jv8bu135TvSwWt8LHo0tZH/lHqWfn52lLGb9LfhXjftKMJo4WkOjsWc6ycTJ3FbyAHN2 v6MOsGTrUWM7/B32QcbmZNX0+tcxovms/yr2U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709219232; x=1709824032; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lUr9WwPm1bDr07bGVGyHcZBKICuYFoD9+zTSPH1u+LA=; b=hqKYaiOdU7Mkg27dNHDgmt2ICRB693r59Mse+FHMq70j+rdhhdIUHoWpFQKcmej7pn gmKYWC1Obs1neSZkk0LPQlrwQi/44xFosxjzT5BS6v/QnO6k9GUaaDsu0DO7pAya202h hXcWOAMuemL9eEQYHHfGdJ3/N1hEa5qGJK1jf1/pd91PNEbT2U/P6UcHZcXGSxXNWYZo QFUBowjwoOySKglgBol9Sr9vx4+HI6xlvzacVJ73ccoOu1BRxN3TiKbxql7vAokkg1zW 9otMVCClzEFRv4faK1wlBwdNJjBRtx+MFzcHBnVrH5rWq37BcTImy3Zk/mAxx4nek3+g OzuA== X-Forwarded-Encrypted: i=1; AJvYcCU04+wQKzbyA28qKCrtJkcp1T2FMrTJ1uGkhFQpwxghc3kNpQAVutyJuG+hxIw7efiZvvc8rkQVs8PTGxYcwIQzk3bPwslJFI+PY/Gj X-Gm-Message-State: AOJu0YwXmoLGoufyx3g2M+9Qk7w6IYYjVy5mE6/PQMQdpb4zhI0yMAL6 qJlknOPYGf812PvuianXd6qdOJs+GxQk5hka8Mbn6XZSduWMNkJ9N8vOgDstqvRUeIxzSQpgiyt pa3k= X-Received: by 2002:a05:6e02:1a27:b0:365:2bd4:2f74 with SMTP id g7-20020a056e021a2700b003652bd42f74mr2811151ile.0.1709219232030; Thu, 29 Feb 2024 07:07:12 -0800 (PST) Received: from [192.168.1.128] ([38.175.170.29]) by smtp.gmail.com with ESMTPSA id m15-20020a02c88f000000b004745b40ba6fsm346477jao.164.2024.02.29.07.07.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Feb 2024 07:07:11 -0800 (PST) Message-ID: Date: Thu, 29 Feb 2024 08:07:10 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: linux-next: build failure after merge of the kunit-next tree To: Stephen Rothwell , Brendan Higgins , Daniel Vetter Cc: Intel Graphics , DRI , =?UTF-8?Q?Christian_K=C3=B6nig?= , Matthew Auld , David Gow , Linux Kernel Mailing List , Linux Next Mailing List , Shuah Khan References: <20240229152653.09ecf771@canb.auug.org.au> Content-Language: en-US From: Shuah Khan In-Reply-To: <20240229152653.09ecf771@canb.auug.org.au> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Stephen, On 2/28/24 21:26, Stephen Rothwell wrote: > Hi all, > > After merging the kunit-next tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > In file included from drivers/gpu/drm/tests/drm_buddy_test.c:7: > drivers/gpu/drm/tests/drm_buddy_test.c: In function 'drm_test_buddy_alloc_range_bias': > drivers/gpu/drm/tests/drm_buddy_test.c:191:40: error: format '%u' expects a matching 'unsigned int' argument [-Werror=format=] > 191 | "buddy_alloc failed with bias(%x-%x), size=%u, ps=%u\n", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > include/kunit/test.h:597:37: note: in definition of macro '_KUNIT_FAILED' > 597 | fmt, \ > | ^~~ > include/kunit/test.h:662:9: note: in expansion of macro 'KUNIT_UNARY_ASSERTION' > 662 | KUNIT_UNARY_ASSERTION(test, \ > | ^~~~~~~~~~~~~~~~~~~~~ > include/kunit/test.h:1233:9: note: in expansion of macro 'KUNIT_FALSE_MSG_ASSERTION' > 1233 | KUNIT_FALSE_MSG_ASSERTION(test, \ > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > drivers/gpu/drm/tests/drm_buddy_test.c:186:17: note: in expansion of macro 'KUNIT_ASSERT_FALSE_MSG' > 186 | KUNIT_ASSERT_FALSE_MSG(test, > | ^~~~~~~~~~~~~~~~~~~~~~ > drivers/gpu/drm/tests/drm_buddy_test.c:191:91: note: format string is defined here > 191 | "buddy_alloc failed with bias(%x-%x), size=%u, ps=%u\n", > | ~^ > | | > | unsigned int > cc1: all warnings being treated as errors > > Caused by commit > > 806cb2270237 ("kunit: Annotate _MSG assertion variants with gnu printf specifiers") > Thank you. I did allmodconfig build on kselftest kunit branch to make sure all is well, before I pushed the commits. > interacting with commit > > c70703320e55 ("drm/tests/drm_buddy: add alloc_range_bias test") > > from the drm-misc-fixes tree. > > I have applied the following patch for today (this should probably > actually be fixed in the drm-misc-fixes tree). > Danial, David, I can carry the fix through kselftest kunit if it works for all. > From: Stephen Rothwell > Date: Thu, 29 Feb 2024 15:18:36 +1100 > Subject: [PATCH] fix up for "drm/tests/drm_buddy: add alloc_range_bias test" > > Signed-off-by: Stephen Rothwell > --- > drivers/gpu/drm/tests/drm_buddy_test.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/tests/drm_buddy_test.c b/drivers/gpu/drm/tests/drm_buddy_test.c > index 1e73e3f0d278..369edf587b44 100644 > --- a/drivers/gpu/drm/tests/drm_buddy_test.c > +++ b/drivers/gpu/drm/tests/drm_buddy_test.c > @@ -188,7 +188,7 @@ static void drm_test_buddy_alloc_range_bias(struct kunit *test) > bias_end, size, ps, > &allocated, > DRM_BUDDY_RANGE_ALLOCATION), > - "buddy_alloc failed with bias(%x-%x), size=%u, ps=%u\n", > + "buddy_alloc failed with bias(%x-%x), size=%u\n", > bias_start, bias_end, size); > bias_rem -= size; > thanks, -- Shuah