From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 849A7C4332F for ; Fri, 20 May 2022 12:46:36 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CA1886B0073; Fri, 20 May 2022 08:46:35 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C50E46B0075; Fri, 20 May 2022 08:46:35 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AF1188D0001; Fri, 20 May 2022 08:46:35 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 9CA816B0073 for ; Fri, 20 May 2022 08:46:35 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay13.hostedemail.com (Postfix) with ESMTP id 75FF36171A for ; Fri, 20 May 2022 12:46:35 +0000 (UTC) X-FDA: 79486095150.10.B4CB792 Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) by imf27.hostedemail.com (Postfix) with ESMTP id 0A2F640007 for ; Fri, 20 May 2022 12:46:31 +0000 (UTC) Received: by mail-qv1-f52.google.com with SMTP id ej7so6542821qvb.13 for ; Fri, 20 May 2022 05:46:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UhZYflED6/DiNr1feOC9OhkU49iweDam4jS4WznrIsk=; b=5jVCxrMG4FoGxlXNxAx7+MfXIoSpV+jP+ZS5eEZMcHSirEf8BRS0BpmKVO8LzYtfPd uhhsPtDlQDjvLVRoj83fN2xEQSes6pgYfQMyYz+MwVDbf/2eX3gejE0F+HiHphHR+PAx 1hqbc7uTczu0rWzM+VjkzCh/i7DV7RSRDcP9eQpSG4CTUqhWMDzaWcCnN5Bw6gx7a15e zYUc9D7vZSZAWPcTEFiGxYi/lPum5vsUC8Bd8GDDuVmXURgYe9Ln03nKLrC7a+25yUdT L04xk62es0zISUMztXs3e+PMX9DxdiZ+4j544Ky+d5y0FjtEU3qbDZMCM1u98PQ1lU0t 3Fiw== X-Gm-Message-State: AOAM530fY7iklpVnKunQGL6MekcidoEA4c7T/rHFvHrKldEikrN6YOH8 SjD2pi6kHzfBQIffowlh8GK3mLhM1MGlaQ== X-Google-Smtp-Source: ABdhPJxAL7uTihim7qf/Ulp5U/g6ayzL8C1yyfPFQLEDjVGeyqJpSA5eQr1VE5e8KPGaD3ZRs7Lzlg== X-Received: by 2002:a05:6214:32b:b0:461:d8e3:1bcf with SMTP id j11-20020a056214032b00b00461d8e31bcfmr7905538qvu.29.1653050794015; Fri, 20 May 2022 05:46:34 -0700 (PDT) Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com. [209.85.219.172]) by smtp.gmail.com with ESMTPSA id f9-20020a05622a104900b002f39b99f69fsm3533362qte.57.2022.05.20.05.46.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 May 2022 05:46:33 -0700 (PDT) Received: by mail-yb1-f172.google.com with SMTP id i187so11768537ybg.6 for ; Fri, 20 May 2022 05:46:32 -0700 (PDT) X-Received: by 2002:a05:6902:389:b0:633:31c1:d0f7 with SMTP id f9-20020a056902038900b0063331c1d0f7mr9068692ybs.543.1653050792549; Fri, 20 May 2022 05:46:32 -0700 (PDT) MIME-Version: 1.0 References: <6285958d.+Z2aDZ4O1Y9eiazd%lkp@intel.com> <0530d502-1291-23f3-64ac-97bd38a26bd4@roeck-us.net> In-Reply-To: From: Geert Uytterhoeven Date: Fri, 20 May 2022 14:46:20 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 To: Guenter Roeck Cc: kernel test robot , Andrew Morton , linux-staging@lists.linux.dev, "open list:TI ETHERNET SWITCH DRIVER (CPSW)" , linux-nvme@lists.infradead.org, linux-hwmon@vger.kernel.org, Linux Fbdev development list , KVM list , DRI Development , amd-gfx list , Linux Memory Management List , Luc Van Oostenryck , linux-sparse@vger.kernel.org, linux-m68k Content-Type: text/plain; charset="UTF-8" X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 0A2F640007 X-Stat-Signature: s7drdt3urakp3d764y1qry8p5s3x6bnh Authentication-Results: imf27.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf27.hostedemail.com: domain of geert.uytterhoeven@gmail.com designates 209.85.219.52 as permitted sender) smtp.mailfrom=geert.uytterhoeven@gmail.com X-Rspam-User: X-HE-Tag: 1653050791-380272 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, May 20, 2022 at 2:40 PM Geert Uytterhoeven wrote: > On Thu, May 19, 2022 at 8:48 AM Guenter Roeck wrote: > > On 5/18/22 17:55, kernel test robot wrote: > > > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > > branch HEAD: 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 Add linux-next specific files for 20220518 > > > > > > Error/Warning reports: > > > > > > https://lore.kernel.org/linux-mm/202204291924.vTGZmerI-lkp@intel.com > > > https://lore.kernel.org/linux-mm/202205041248.WgCwPcEV-lkp@intel.com > > > https://lore.kernel.org/linux-mm/202205122113.uLKzd3SZ-lkp@intel.com > > > https://lore.kernel.org/linux-mm/202205172344.3GFeaum1-lkp@intel.com > > > https://lore.kernel.org/linux-mm/202205190527.o9wVEvHI-lkp@intel.com > > > > > > Error/Warning: (recently discovered and may have been fixed) > > > > > [ .. ] > > > drivers/hwmon/nct6775-platform.c:199:9: sparse: unsigned char > > > drivers/hwmon/nct6775-platform.c:199:9: sparse: void > > > > This is getting tiresome. Every driver using outb() on m68k will > > experience that "problem". As far as I can see, it is caused by > > > > #define out_8(addr,b) (void)((*(__force volatile u8 *) (unsigned long)(addr)) = (b)) > > > > in arch/m68k/include/asm/raw_io.h. I have no idea what the > > "(void)" is for, > > The "(void)" makes sure there is no return value. > Which matters if the result of a function returning void is propagated > to another function returning void. Which, FTR, sparse also doesn't like: error: return expression in void function Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds