Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1917720imm; Tue, 2 Oct 2018 16:45:50 -0700 (PDT) X-Google-Smtp-Source: ACcGV61WBjcZT9cyhXqX9pzu9b5Yuic07yfqHHlrgBc4cZzDcDzXojWEQBHqlB0jUqC9/2PoJDlH X-Received: by 2002:a63:e54d:: with SMTP id z13-v6mr16357894pgj.169.1538523950231; Tue, 02 Oct 2018 16:45:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538523950; cv=none; d=google.com; s=arc-20160816; b=qoPPmUl6emty2AQ6htKiSk6mXIFvoYpLmLxGQXpm99TNNjJUWx1PLeqJWmMqLLao4E kGeshlkoWFNAdE9ztbbq5sBP5YmlsSuSKgaIFlu+Bc1lM7IU/+9f3h9UsRg0haw1V/x8 JaQWOn0DrhzeOpAZsKZf21HfCQ0N4zecIDEJMoCDE1hYgsNpVgU1472o6zvMb9P4D+OC QA4A0MPzItECxMbICwMynCJN/kxyg1mHHb4X3i8AfsnktIp0gC0HOQREbez6cCg7iAmB FtUSD/y5Gqz53TczR+oFWT59tK0759RtE6BsJJUChpEEWS184Tl6wpazz8r9Re7g5e17 7Yvw== 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:mime-version:user-agent:date:message-id:subject :from:to:dkim-signature; bh=pAKI+vQY+uxqUZMl0o3kBgnfukf4svc7ZRjW/w2YqlY=; b=GAuhh0dvmPtne+Ysf0u73CjrEmK7fsh2JtzXMZvWVSPNuJlvjEgSbIUGhNsWrZwwbp p3kNQH5um6TwGmZI9TkbbJCy2A0sF4J+qtFu0WH+cT76iKMP4gfP51ms+XRnJMhj+dw9 vBO888TUd1DlUKNETJEWFRdXmPPLy9BqXF1hym3xjiUfKRXl1MvdhHhf8RMOMPqs0QBB m4XXEEbRDArY5hKwTg9KN2ZGz021jclPleyrWj4J2BFZzE7FjrGYcOcSprQ/MofyrCY9 4QTkPbfkLDSSdIeJjH3nFRmzx1/RJoV23coPJFnOZzyUe60UMfcicL1fvNZ5Rja6bLcp Hl5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=cukUdAHf; 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 g82-v6si7187193pfj.283.2018.10.02.16.45.35; Tue, 02 Oct 2018 16:45:50 -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=cukUdAHf; 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 S1726407AbeJCGab (ORCPT + 99 others); Wed, 3 Oct 2018 02:30:31 -0400 Received: from mail-oi1-f173.google.com ([209.85.167.173]:36742 "EHLO mail-oi1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725767AbeJCGab (ORCPT ); Wed, 3 Oct 2018 02:30:31 -0400 Received: by mail-oi1-f173.google.com with SMTP id p125-v6so3037359oic.3 for ; Tue, 02 Oct 2018 16:44:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=pAKI+vQY+uxqUZMl0o3kBgnfukf4svc7ZRjW/w2YqlY=; b=cukUdAHfiqAZk60ZDdNuJf5bt3OqUaDs2iq2Yv6/poPS9LD7hzWn4ZvaUlGv5/VqL8 GuOrivjldGejpRMirq/4Oie+sq6PF0XVp9V5Ux311mujDAlfupJ4iv55xhdPSQQGBr/Q rTW4wvRusSXC51RP9dmPlKc9exgLUtcikrQWB63JIpJC6JsdhoNRaKuTTXzXGddF6Jmg 6jVw7AHOZfh+QvaJ8vLk8UpX3tqeY8miAcoAekaH1aDtNHSATV2/FNyNMpGdDkVeKyyh so7Co45jhR0GIv7N9tNWFUU1GtYy4JxFSghSl+NA3kH/3H4/LIYd7acLbwGwYKifEBNk 8bmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:to:from:subject:message-id:date :user-agent:mime-version:content-language:content-transfer-encoding; bh=pAKI+vQY+uxqUZMl0o3kBgnfukf4svc7ZRjW/w2YqlY=; b=MQ2owMKE5SddJWowwOi8SszQRuotsSxYhPPIB/PcgTeJfX2uRPX0vievOuA8kz46Oc x0JsQ01gR76DnFXGtpgm6syfN27WuNz+pfo4ZEic8Wywunyq6CTNBJMI8t5PjTZxC7Xp 9A+g5L+4qNmZh6CW6wd3IH4Nc8MXVzJ8Z2HZDtTL5CP6niX+guoOC9IVzXmdeKNDrUv/ W9ZXNpsV2KMErDU7N5INesEaDRXtwByoIZWzc+52Awod4RyQsiWtC0D5ouOxCrOBgIQh YpLP4FcKxrYp6sUVhbnzDtZiMusmtwfgcywFhgYcvitxa1RloayI5FEspPt531b+i0g9 Zxbg== X-Gm-Message-State: ABuFfojqHMea+bA8oBWDX5PrQPhPwGSHeogLBt58XFyG7rt2ZQy8i3n2 S6zetX74miuvIVCIR+bCXHEJHqZZ X-Received: by 2002:aca:c351:: with SMTP id t78-v6mr4149468oif.338.1538523880867; Tue, 02 Oct 2018 16:44:40 -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 143-v6sm3901212oii.16.2018.10.02.16.44.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Oct 2018 16:44:40 -0700 (PDT) To: LKML , Christopher Li From: Larry Finger Subject: Sparse warnings from calls to max3() and max Message-ID: <3afaa0ad-33a1-33d1-f306-8e0e467936dd@lwfinger.net> Date: Tue, 2 Oct 2018 18:44:39 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 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 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. Thanks, Larry