Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp288593lqs; Tue, 5 Mar 2024 01:55:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUbSAgTJWHDssCLgQgalFRy9E5fkTxapmwxWIFF0diHKC0VVdnpU8iz44Ec95fSO5jKhnHc/53z7D8QiK35EoMv2x8tK+A5gUIsPi0VhA== X-Google-Smtp-Source: AGHT+IFqyMt7Y7d14wzhzal497B9JtvOmEFzNX8hsK0DDe53tbjpRBXAew5KT7axCVJz4EZNkI8l X-Received: by 2002:a17:903:443:b0:1dc:d12:e21b with SMTP id iw3-20020a170903044300b001dc0d12e21bmr1097051plb.7.1709632511805; Tue, 05 Mar 2024 01:55:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709632511; cv=pass; d=google.com; s=arc-20160816; b=Xwc2RaNp8/c1hskVS+zh7zXRTE08KdhWMe2IvE/RpDj/vWJiJm7wBKzJjNmQJT/15G l7fU7DzlzvTr3ss7ulUgL3Gsg7OEKyxtxO6epWE2Pb/uALVTvq2FakTPsaRY3u8XjDcJ z4n7J/q++ITpx4shNKlc7HWZDrnB3FEGiN8vte9rCURLfat9CsBBWSJaviq7Ek19q0dp gWbxV9GaGrscKy3Zrc3TLDVf4LjJFN05K+5d0yABQmWK+SQV847CKfmfNE2lbxmbW2Vo b2JHNYOHdo7pTzSiQn0T8jOFJ/Fe1UU7G9Lrz169HM3sQADGsHJqdJE0XmLZOLrKePib 8tAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=2WaxZu8cu5F/ocXV2z6I3xNk7GCsZx8449ky6SPWxlQ=; fh=Y6XTGja2plNCSApTQrUTvObBawh2RqNHzs+KMlZoZO4=; b=jOZtjWccBfM17MiPicRO8Tr+UpJmbnnzpMA5SQoXFrsH+HYCEmu0iL++2aYsUlCB4L cG4r/RMN8hZ9tA5IWAYLM3Z9yGBCOCBZJWCCLB645pMDSE8BrnTqEQX1qezWhJrpm6jQ pJw6nB39H+9cVwacoGt0tNomn6SCf/xPJ68aTnU2W5E9hONsOMfxzlGznrxAr9lsclA8 jGIzy7m6yfjgC3g4BdwJZzmq2K0dhzrVRRWJGrikTCP3GDUjUHuFon5mqYWEhdiaJxyd ex7y1BmLQfxxEtfUMqdG0DAdx6GJG+1z1XPGAmdPGLAqo2pTUsmnWXumz3R2VjQuK1PJ WiTg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WDSLeQKN; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-92035-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q18-20020a170902e31200b001dcd0cf3781si9419892plc.135.2024.03.05.01.55.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 01:55:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92035-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WDSLeQKN; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-92035-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 78B30282821 for ; Tue, 5 Mar 2024 09:55:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D1185548EC; Tue, 5 Mar 2024 09:54:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="WDSLeQKN" Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 A2EDE4CB58 for ; Tue, 5 Mar 2024 09:54:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709632494; cv=none; b=qYKkN/Ujl7FVol35naU9kNzffgjv9X+nnnOCU1dsnRKB4Delxg4UDkI4bs/dMbcEWdj8/hH7uI+jyxP5vvdhN6uvNW/tqVuCZIPqtqTLdi1CrNNZsuWMf5G7IqzBHMZ7CnkMIIrA4nomjBV/lAm/L0lPkp1LA7BuyzbiKB6ivMU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709632494; c=relaxed/simple; bh=FzZFZgyknEs4e3j86cGsSsHpKR/7l45G9iBLLSVc8AY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ehGAlv9/sp2j/bMup4BIAxVgJ2eFXw82f4cOV5xNeLGn/tQO9RifJpYQ0D6tRIwtgjwRD7jvCS6q/NFBPrNQImS8itPLt+QOd/XAZGXfQpp6KOSyCejD+KG128I7Pj2ymlFwM7753fc7/gAjsGRCRPce1jmymwnHjK7tRINfYb0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=WDSLeQKN; arc=none smtp.client-ip=209.85.210.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6e5a50d91b4so5258705b3a.2 for ; Tue, 05 Mar 2024 01:54:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1709632492; x=1710237292; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=2WaxZu8cu5F/ocXV2z6I3xNk7GCsZx8449ky6SPWxlQ=; b=WDSLeQKN5lQbnyACdsSmpxmXliSWb+A32mMTReGML0+oDJgysyP7YXZPIY/Zag6JTr II0+wkBnXFYfx2xWMzLqSbu8+yhtzV8AOONtVeV+8oWuHimObnjX2d/Yi5tfcZvY02nz j+Fnig+jAt7O89IF0nNcfwtuRS1WisJ9UmUd0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709632492; x=1710237292; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2WaxZu8cu5F/ocXV2z6I3xNk7GCsZx8449ky6SPWxlQ=; b=kbIel0mdHLUaXi0tz4X9Ss4dpGiAxy1f0RvJb+rKVdP0QAsM2w+c+E+wYS6FJxiYO6 NBQx4OM2WA5AbiuujkTHAd0Ym6grOofJVRIjgNdQsVuHvo6550FnB5hFxVbVaYg/OKL1 HeBkxm5GZ2LlJ/wxAGDKbLUN5CXAdTQAjjPV4FZFwRM8oGYAoz7S/G81VNeo/jXT+DLo Df82bl9ZydBgybeMe9sR6MpbJ4FFOHiqP1Ljjl75zUgM96cNd0nXhUqi6gMTKAQkfOnn sPS5Fdr2sD5ejAEomioLtRd0gdXM33iyKxjM3p3UShtz+R6uhzIsgQzeWWFDwR132OCc gftA== X-Gm-Message-State: AOJu0Yw9EEhmwRfY7BdSNZeYR+Xrfvrswa8xrUqE6isVTas34Ha2JhaW A7cERX/10mFRnSGf+PRBnLADPARoc2uQD57AilwkZvAPea9Oj6hfK1G/v9rh8g== X-Received: by 2002:a05:6a20:394a:b0:1a1:41a3:9b54 with SMTP id r10-20020a056a20394a00b001a141a39b54mr1311201pzg.32.1709632491974; Tue, 05 Mar 2024 01:54:51 -0800 (PST) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id a3-20020aa78643000000b006e0debc1b75sm8753970pfo.90.2024.03.05.01.54.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 01:54:51 -0800 (PST) Date: Tue, 5 Mar 2024 01:54:50 -0800 From: Kees Cook To: Stephen Rothwell Cc: Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the kspp tree Message-ID: <202403050153.07D12B800@keescook> References: <20240305145018.39b4e37b@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240305145018.39b4e37b@canb.auug.org.au> On Tue, Mar 05, 2024 at 02:50:18PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the kspp tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > In file included from lib/string_kunit.c:8: > lib/string_kunit.c: In function 'test_strspn': > lib/string_kunit.c:176:25: error: format '%d' expects argument of type 'int', but argument 7 has type 'size_t' {aka 'long unsigned int'} [-Werror=format=] > 176 | "i:%d", i); > | ^~~~~~ ~ > | | > | size_t {aka long unsigned int} I was really scratching my head on this one. I didn't see the warning on my end because this is actually a result of the merge, namely KUnit becoming correctly stricter about format strings: 806cb2270237 ("kunit: Annotate _MSG assertion variants with gnu printf specifiers") I will fix the format string! :) -- Kees Cook