Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp251048imm; Wed, 3 Oct 2018 15:31:43 -0700 (PDT) X-Google-Smtp-Source: ACcGV629NQDF9l6AbA5ur/ggQn5c8aO0atc/Z9SYkKglMdLFuY7pQQMPGeNWoEdoefiSkk6o40ug X-Received: by 2002:a63:6781:: with SMTP id b123-v6mr3151767pgc.151.1538605902940; Wed, 03 Oct 2018 15:31:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538605902; cv=none; d=google.com; s=arc-20160816; b=ztT9/7gjLhNmo4reoNTLEkjXJYmTnpI+c8IPsPhVmiNlTEKEqMMihsb5Ng+uA9Tuxp QEQ8VAPpngJoxGk6OXmkPYE/h68TyUzb3RtfGBHdfOWGEEwvui3BvFIeLIqOlW47xtub S/cxFqGsbGgAVL4DrN9kFvfjUb3hErZ3nRRMMv8qh5kA/0FkdSZz/kNPkHBEPntWqGs2 +6m15r2K1WMZCWfjmBAYHZ3NS0VXRXE45QkXxhdwhuDhXRhLfLhLwT2FXuCCsduEIzlM ligXh3F1RAFOksWlXkcC0eymtJCqLcSVzuDXN/BWVzZSc+1D/66G6X25P2qZb3bvZaJQ wLLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=W49xGT5ZZv4KaWeWKBLBTSp3nBedVN4ea3KetCBl3iE=; b=M39/8Hm70uo7U5LtLFU3vg9nH+WWecyWJMAtqdp0FnpzbCHX1Uk+OdsIfeTBSzEs04 M5JO2+krLLKCCcXDwl9fM+LQRzTNo1eYU3oxOtx4wNLI5/Gbi5bz/U+epsNEInO0SLV3 clZa6mKa5QS5vIIG4URPg0QBK2gTBnirvMxVWueGUodFAcaqQvtrY3zsvjm/LmK/A5Kg +YxrVhdYP2fgVg2ut62AZmYA2gG6n6jL5SXJ4goILnguPuPgyteHSRziZ/K3MdMCpjde feX01NTNG5+XJCmy932sbUUt/BhpzwSKulWQVJO/kq1bT3HjgHEMSZB6XKfrg6BXtbPw hj+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tnd2C2IV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11-v6si2950410plg.237.2018.10.03.15.31.28; Wed, 03 Oct 2018 15:31:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tnd2C2IV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727144AbeJDFUQ (ORCPT + 99 others); Thu, 4 Oct 2018 01:20:16 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:40051 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726209AbeJDFUQ (ORCPT ); Thu, 4 Oct 2018 01:20:16 -0400 Received: by mail-wm1-f68.google.com with SMTP id z204-v6so6259926wmc.5 for ; Wed, 03 Oct 2018 15:29:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=W49xGT5ZZv4KaWeWKBLBTSp3nBedVN4ea3KetCBl3iE=; b=tnd2C2IVVbA4VueLUn2WvPstFaR1FcCKeo3YbGftGqZrF//u6z2glUx+DDR+eQxYK3 knu/rjRTi2CIev8G4OdmSfTG3O51NV6+LMPiE+SAiOZn7uULswo3+KWq5pxWWV6dxLzn 6Jiv48SWt+wJjHZRu6kDnCBWm2A49pjJm2qHjlcV+a8YdOLb5ZXckPjZpM8U0aj96ejF FZG+A4Ikw5aJMIWx5kvDoVlU1olbEG2Cwb13hK282M0IVflcK+exOB7RSJObZQaNE4Nm JXg0emINa6+cO/7fCuE5oBR2yXBz8mAhQ489rmMOBhoNHgGZzOf3qqFCrbx3aSW0uyf6 VkuQ== 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:user-agent; bh=W49xGT5ZZv4KaWeWKBLBTSp3nBedVN4ea3KetCBl3iE=; b=GnUeN2nLnCyJpH36KDKsFbuGP1TmD2dxxRDrjgJJM67G5bgWaAjO4DUEKvG4vY1AiX GXrqdjP0jvs2Ytz6zxe4at17D7FJ/lFotJ9WC0GbQZlHq9MR5JoQ1OQXo6GxEUUAHeyM aeHmpEMvdFNx2WIpoFpNdaDCHWPvG4UK30+O6+mNaOfn4pFsu5kMbgFnoDcnSGE8ixvn lLMKveelkX4xPp8QP45zO0XMIzK9biLHrGwyPmcygS+z0NNHjTD8t97tErmb5hPGbA3F 8jaVTjINsmvrA5h9SLqrGDHDRrPnXt5vrHucLzzzLqhblyLIr+TQ041lWC/ch5c2OLeP LChA== X-Gm-Message-State: ABuFfohBSU9W99j/6WJVNfZtQv8rsBWgqCmfuSbZ3/Bl4MYXs8qQfXQU Ax4g5GNwyr/+GpgqXv2o3Vs= X-Received: by 2002:a1c:7f93:: with SMTP id a141-v6mr2692380wmd.45.1538605795203; Wed, 03 Oct 2018 15:29:55 -0700 (PDT) Received: from ltop.local ([2a02:a03f:4027:2900:4590:ed25:8bd:64c7]) by smtp.gmail.com with ESMTPSA id 12-v6sm3937305wms.11.2018.10.03.15.29.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Oct 2018 15:29:54 -0700 (PDT) Date: Thu, 4 Oct 2018 00:29:52 +0200 From: Luc Van Oostenryck To: Larry Finger Cc: LKML , Christopher Li , Randy Dunlap Subject: Re: Sparse warnings from calls to max3() and max Message-ID: <20181003222951.5vp47nf5x7ipyyi2@ltop.local> References: <3afaa0ad-33a1-33d1-f306-8e0e467936dd@lwfinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3afaa0ad-33a1-33d1-f306-8e0e467936dd@lwfinger.net> User-Agent: NeoMutt/20180622 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 02, 2018 at 06:44:39PM -0500, Larry Finger wrote: > Hi, > > Sparse has suddenly started issuing as many as 11 warnings of > "expression using sizeof(void)" for each call to max3(). There are > similar warnings for calls to max(), thus I think this is the origin > of the problem. My sparse version is 20180324-1.3-x86_64 installed > in openSUSE Tumbleweed. My kernel is 4.19.0-rc6. Hi, This problem is resolved in a more recent version of sparse, the one you can find at: git://github.com/lucvoo/sparse-dev See Linus' email about it: https://lore.kernel.org/lkml/CA+55aFzYEnZR2GZLR-DwpONjMNYGYoDy+6AWLCVNayWiaZuqoA@mail.gmail.com/T/#u NB. The official version hosted on kernel.org is not uptodate but I hope this will solved in a few weeks. Best regards, -- Luc Van Oostenryck