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 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C74FC433DF for ; Thu, 25 Jun 2020 09:59:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 74E272076E for ; Thu, 25 Jun 2020 09:59:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390176AbgFYJ7n (ORCPT ); Thu, 25 Jun 2020 05:59:43 -0400 Received: from elvis.franken.de ([193.175.24.41]:37041 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388485AbgFYJ7n (ORCPT ); Thu, 25 Jun 2020 05:59:43 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1joOfV-0001nc-00; Thu, 25 Jun 2020 11:59:41 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 1DCD5C0708; Thu, 25 Jun 2020 11:40:59 +0200 (CEST) Date: Thu, 25 Jun 2020 11:40:59 +0200 From: Thomas Bogendoerfer To: Alexander Lobakin Cc: Alexandre Belloni , Paul Burton , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH mips-next 0/3] MIPS: fix the two most annoying sparse floods Message-ID: <20200625094059.GA7660@alpha.franken.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 20, 2020 at 09:33:38AM +0000, Alexander Lobakin wrote: > This set addresses the two most annoying sparse floods when building the > tree with C={1,2}: one in asm/io.h (in several mangle-port.h actually), > and one in asm/checksum.h. > Both of these comes from lack of forced typecasting and hence harmless, > but complicates real bug hunting, as asm/io.h is included in almost > every driver, while asm/checksum.h is included in lots of networking > code. > > I also fixed two wrong __mem_ioswabq() macros while was nearby. > Tested on Generic MIPS platform -- no more flooding in console (there's > one more source in mips-cm.h, but it's included in just a few files, so > not a real problem. It can be issued separately anyway), while objdump > doesn't see any difference at all. > > Alexander Lobakin (3): > MIPS: generic/ip32: io: fix __mem_ioswabq() > MIPS: io: fix sparse flood on asm/io.h > MIPS: checksum: fix sparse flooding on asm/checksum.h > > arch/mips/include/asm/checksum.h | 4 ++-- > .../include/asm/mach-cavium-octeon/mangle-port.h | 12 +++++++++--- > arch/mips/include/asm/mach-generic/mangle-port.h | 12 ++++++------ > arch/mips/include/asm/mach-ip27/mangle-port.h | 6 +++--- > arch/mips/include/asm/mach-ip30/mangle-port.h | 6 +++--- > arch/mips/include/asm/mach-ip32/mangle-port.h | 6 +++--- > arch/mips/include/asm/mach-tx39xx/mangle-port.h | 6 +++--- > arch/mips/include/asm/mach-tx49xx/mangle-port.h | 6 +++--- > 8 files changed, 32 insertions(+), 26 deletions(-) series applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]