Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp325639pxb; Wed, 11 Nov 2020 04:51:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxWj9zsvSO+H9ZLjfiIiBtLaUUPPfeML/gzLoe6bVCo9nhOBKtzeNATFn+8SsgczUg6Ab85 X-Received: by 2002:a17:906:9459:: with SMTP id z25mr25703867ejx.88.1605099086315; Wed, 11 Nov 2020 04:51:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605099086; cv=none; d=google.com; s=arc-20160816; b=YbELvm5tpVrHBL+3FeykiUxSgZhMj06ycKpkaYD+MGISbzsZBxfJHrG2n5H9PEeSFN ZJ9y0zBdS6XC78Q0RAJTkUvFCs/dzuV030mDVxp5zUFNeI40MLuTWkwjtT6Y7X8aUcKO uchi7Cb1Ki/Ekjw2Afm21YZNFqS57ajz0YYFOC+sgZ4IRvGoZ+ic5sIoafK/DX8xmUTJ aax26IPsN7TgijXYfU/a9y9qz68qnZlCwWbKhy0DW9lTaMIbPvc09faglg7EHLWT2O9N C9y3vNn9HoyKdhD9uALsCvFWq42BRelTscOWhqOuKcKqf+AqkZ2ndKWfQNlI9+8wx8ap yOIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zGXJ8V4La1S/QeUFBtdnXjusm+8Mn5insAGmUISpfHs=; b=gYJDCyzYYUv9xwpqQcePNEiEfuEc5m4C411NlpxOltdOz/aG+exmHxxHED6nTeQR7Q ixDicyM4FpbxeCmLBDw8rdfmFD4Q5Q2vNL2Wx3Ch4p6u6VrffEVPxWG51AMJi84qoqRp QAsbnYJIHUcJgvZiljwPsPG6ptDkMTcO+S5D0z+YKB40SFLpOZX7RTgu6hKjyM2V/O5O VhShfWl1DB2vg0HQk2MfrEsNTus1VWAUt8fMInYBkDGn+HnmsAewTq1AOwL8DBAwhPM9 N1UYwbxsFY7B7CNK4OzGrA6G+MirQlu367cQQqLIoPyW/hl+45K+eZAOCiLay1cTSs53 X7qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=F1PZsI4a; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e14si1239810ejj.573.2020.11.11.04.51.00; Wed, 11 Nov 2020 04:51:26 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=F1PZsI4a; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726556AbgKKMsq (ORCPT + 99 others); Wed, 11 Nov 2020 07:48:46 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:21615 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725859AbgKKMsp (ORCPT ); Wed, 11 Nov 2020 07:48:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605098924; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zGXJ8V4La1S/QeUFBtdnXjusm+8Mn5insAGmUISpfHs=; b=F1PZsI4a6hTKkBvvX/ZppGYJoY5vAo+DeBNUieutbG+qSQl07V3bNko6OnLkEZPg2w7XmQ mpwv3wzSJqHa0iDkcmhY0RhqY3+1N06gCV7qw7WOgAgMPYz8cuQ8s5kgE2amRbBHl/hL8E 8j6nrQEh5oXFpEYzf41h7FI4KITPKss= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-314-lcVvIXfUPISu5xto5fD0XA-1; Wed, 11 Nov 2020 07:48:42 -0500 X-MC-Unique: lcVvIXfUPISu5xto5fD0XA-1 Received: by mail-wm1-f71.google.com with SMTP id z7so851670wme.8 for ; Wed, 11 Nov 2020 04:48:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zGXJ8V4La1S/QeUFBtdnXjusm+8Mn5insAGmUISpfHs=; b=SSYykomFuy/VZmKgIQtsZ43Pub1t8sc+j+TLQUC2Y4tVLz4JxDlSZT+Y30Wgz5uBTy B7v81WPdug47sqGPicse4Ss71YGvbErw3eVchl8NAPBnVBgj60gtT7PWuoPHPOnBKsqf ObwKEWsEUREa7PBC+NrQFNOgfr1ll0rf9izBEuN3bjKx0pio5VS2MnyY/p0GkE1e8vQW CG4ql3OtFPIMqePm1+SLD8Q5nlZU310rBvYCuae0kZA1YLCIXJFP9FRzyzXQvM7tJOee 7bZDMWG8vA9aLhU8/I9LeQvP3X82aZT/JHpksCZCBaPd3SI4U/VjBcywoTRx+hUK2ABC ymiw== X-Gm-Message-State: AOAM533NrdBHWX/NEMOm6fnbJ/BNJodTsFXzw/hvCe/K+hoHSPBnI08p dHRp1+RcGIgo+NMxMmhEVwF2cVhztvfD5m6elXW+FjZLk70eIeXs8+ZfwBVk1bBwiUK1UeR7khZ FRORW+ay9/iFfeQND5WHhXAqx X-Received: by 2002:a5d:5446:: with SMTP id w6mr20336612wrv.122.1605098921358; Wed, 11 Nov 2020 04:48:41 -0800 (PST) X-Received: by 2002:a5d:5446:: with SMTP id w6mr20336594wrv.122.1605098921214; Wed, 11 Nov 2020 04:48:41 -0800 (PST) Received: from redhat.com (bzq-79-181-34-244.red.bezeqint.net. [79.181.34.244]) by smtp.gmail.com with ESMTPSA id y11sm2305471wmj.36.2020.11.11.04.48.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2020 04:48:40 -0800 (PST) Date: Wed, 11 Nov 2020 07:48:36 -0500 From: "Michael S. Tsirkin" To: Stephen Rothwell Cc: Daniel Vetter , Intel Graphics , DRI , Christian =?iso-8859-1?Q?K=F6nig?= , Joerg Roedel , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the drm-misc tree Message-ID: <20201111074811-mutt-send-email-mst@kernel.org> References: <20201102124327.2f82b2a7@canb.auug.org.au> <20201102051822-mutt-send-email-mst@kernel.org> <20201111171015.631ffd0e@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201111171015.631ffd0e@canb.auug.org.au> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 11, 2020 at 05:10:15PM +1100, Stephen Rothwell wrote: > Hi Michael, > > On Mon, 2 Nov 2020 05:19:06 -0500 "Michael S. Tsirkin" wrote: > > > > On Mon, Nov 02, 2020 at 12:43:27PM +1100, Stephen Rothwell wrote: > > > > > > After merging the drm-misc tree, today's linux-next build (arm > > > multi_v7_defconfig) failed like this: > > > > > > In file included from drivers/gpu/drm/nouveau/nouveau_ttm.c:26: > > > include/linux/swiotlb.h: In function 'swiotlb_max_mapping_size': > > > include/linux/swiotlb.h:99:9: error: 'SIZE_MAX' undeclared (first use in this function) > > > 99 | return SIZE_MAX; > > > | ^~~~~~~~ > > > include/linux/swiotlb.h:7:1: note: 'SIZE_MAX' is defined in header ''; did you forget to '#include '? > > > 6 | #include > > > +++ |+#include > > > 7 | #include > > > include/linux/swiotlb.h:99:9: note: each undeclared identifier is reported only once for each function it appears in > > > 99 | return SIZE_MAX; > > > | ^~~~~~~~ > > > > > > Caused by commit > > > > > > abe420bfae52 ("swiotlb: Introduce swiotlb_max_mapping_size()") > > > > > > but only exposed by commit > > > > > > 4dbafbd30aef ("drm/nouveu: fix swiotlb include") > > > > > > I applied the following fix for today: > > > > > > From: Stephen Rothwell > > > Date: Mon, 2 Nov 2020 12:34:57 +1100 > > > Subject: [PATCH] swiotlb: using SIZE_MAX needs limits.h included > > > > > > Fixes: abe420bfae52 ("swiotlb: Introduce swiotlb_max_mapping_size()") > > > Signed-off-by: Stephen Rothwell > > > > Acked-by: Michael S. Tsirkin > > > > I guess it makes sense to pick this up for this release directly. > > I'll merge this unless there are any objections. > > Christoph is right that the include should not be conditional. But I > have not tested that that does not introduce some other problems. If there's a problem it will be a build failure - I'll put it in next for a while, this way we'll find out. > -- > Cheers, > Stephen Rothwell