Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp303070imm; Wed, 3 Oct 2018 16:40:34 -0700 (PDT) X-Google-Smtp-Source: ACcGV60xVtESUmzrZTdauJFo89ruUIIEgFQMU1eZI9GSLMZJ5kmOhx7Kr56ymiC+70xtLX+6RE/q X-Received: by 2002:a17:902:bd4b:: with SMTP id b11-v6mr3925261plx.0.1538610034194; Wed, 03 Oct 2018 16:40:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538610034; cv=none; d=google.com; s=arc-20160816; b=JM3o2HYnp3HwgSBCXz7Pn+gPf5gCbXLqSSc7va7rKEmr3p0Bc4OeME5i9aErUl37/D T1ZFRdH0g1ACbu8k4+yUtG5Pp5MM+cxgGN4qj3Srjl4GiSS0+B+Sd3U+72GDoTBVpx3Q sfeNi8x7rsEgCsCUgewHyHT0KTZU1JheN4dY5VjQyKJRIXtuqxh9CIrHYLWuI9I+rwid 8QCQZD5J1KJPEjBwrl+9z48IClQdFpaUDxUYc4y4y1EJA6TAWuQIDodw9Bq1POy00qb9 C3RRSlqI8Ml0oMxjdA2MISXqt9WeVe/UdE9hlBB8U/kdKAg//t7/o/1OCt5p3hAPbFVb W8BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=IbVO4B4SQgX0IzO+hEPWVJtbotEAQcoJCXNDKqnEZ+4=; b=Q/OegAX/o+u7aePnHrSO9zXagdNhtLu+5DY+KICmKmtCWZNiwxUF2Ki5rojPw2yCyC 5nYDG309acB9o4WJAOVlwnRR4NDLFG03JePUxzO4rJ4IlwZH2Adcn0hjFsMwmyGufT0g NhSu9PcSIeexaHdCkMnJkulq7cNvJse45IAuEQx7WJwVEkEQio7PFHS4ajh+AQkcZLdN 4LlMToj13asMofo/fgV4ZVm5YGWYfIpSYgEo6qI/PKJO0oEbtGwsfWAnvzY1gPCpZpj2 GVT8Dv6MfGBx+rU2wirmVpYjwL/jTS8+SxWLBsoI7HA7g+CXJYZF2k9ZKGpLp5IfYH8W 9/AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=jWKRAflw; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d38-v6si3129148pla.422.2018.10.03.16.40.18; Wed, 03 Oct 2018 16:40:34 -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=fail header.i=@gmail.com header.s=20161025 header.b=jWKRAflw; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727264AbeJDG3S (ORCPT + 99 others); Thu, 4 Oct 2018 02:29:18 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:45545 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726587AbeJDG3S (ORCPT ); Thu, 4 Oct 2018 02:29:18 -0400 Received: by mail-oi1-f195.google.com with SMTP id e17-v6so5981063oig.12 for ; Wed, 03 Oct 2018 16:38:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=IbVO4B4SQgX0IzO+hEPWVJtbotEAQcoJCXNDKqnEZ+4=; b=jWKRAflwzhfmAuagxdiFdssiRLqWjChdgTTGO2R42BxkoJRGFcs9K6NLBLyMQTUFm5 A+yqt+m/yixjLnREPrzP+p57XBfMouulcYUuwrGhw2qfuZILMlj8Rim6B1siYz6/5wSW WuGvT4q20u3uz3tITmJKwPzaHE63zTeyHKg8YT3QsVAW3fDy3aF8gkuH4Ind2JIvHIsF zTq2OiRNPAJZjLsJNwcEKfWiDoDKjGau0vNRL+NdE0Av7eTVPjCfn4ATViOUi1bpCOcc 7Lo4PtviHqGKOFwO9ap6epCWjts6m0ukiV4o/qjEP0+Sd9/N3mvGOA47XANs5SB6FAwY D5Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=IbVO4B4SQgX0IzO+hEPWVJtbotEAQcoJCXNDKqnEZ+4=; b=hWM8Gp3NU6hsMp2ls7EMApkY1c7dB11SuNlYtapioI9fM68zWXJAi46zrnttE3zYN3 US+mWs8WUAkdyGkm/QRDkRwmK+HiehQuesT5rXXg44eMPF1KaKvTHoeXxAZlvgPXqX3Z rO3UtwpHTgTMZWySZ+jJNILMfXyNAMiDUr5qfe83uQdTM79r1ODiBx6N0M5tQol9ZT0Y yiMVQy+YOXjEZlKGRe2jpsxu7s/tqAqva0Gh4IVWEP0yXNFnMYmE5fMveXqrO90/FQLE 4qKsK13gQ4p+B9668TWzpDV6U6RLFNTPRv0JG0XQ2SVlq9I2wuMsKEY4RtNtqIiohIFa UWDA== X-Gm-Message-State: ABuFfoiJQuK9h0p7gWFqp9tnQqi9i4HOUHIJNh2HdQdYFienkBelGAt3 z0DQmlm95hEi1SM42H08Au4= X-Received: by 2002:a54:4809:: with SMTP id j9-v6mr1910405oij.360.1538609924953; Wed, 03 Oct 2018 16:38:44 -0700 (PDT) Received: from [192.168.1.107] (cpe-24-31-245-230.kc.res.rr.com. [24.31.245.230]) by smtp.gmail.com with ESMTPSA id e198-v6sm939271oic.5.2018.10.03.16.38.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Oct 2018 16:38:44 -0700 (PDT) Subject: Re: Sparse warnings from calls to max3() and max To: Luc Van Oostenryck Cc: LKML , Christopher Li , Randy Dunlap References: <3afaa0ad-33a1-33d1-f306-8e0e467936dd@lwfinger.net> <20181003222951.5vp47nf5x7ipyyi2@ltop.local> From: Larry Finger Message-ID: <16718fb5-b354-edb2-9a2b-26041954bd7d@lwfinger.net> Date: Wed, 3 Oct 2018 18:38:43 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20181003222951.5vp47nf5x7ipyyi2@ltop.local> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/3/18 5:29 PM, Luc Van Oostenryck wrote: > 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. Thanks. I'll ignore those warnings for now. Larry