Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1155837ybt; Sat, 20 Jun 2020 02:35:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrQ/Kl1BwpkiBgkl5CklLHaWE+jLSsjphCTEEdU9hEuLfiEHWnlAFRpats324+swDOazzy X-Received: by 2002:aa7:c38f:: with SMTP id k15mr7660783edq.342.1592645756512; Sat, 20 Jun 2020 02:35:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592645756; cv=none; d=google.com; s=arc-20160816; b=Cj4QX3b82UljxF01vXhPLLr05SLCFKcPsijHdkFQwH0Ax5xHv1i5LGkbNZ/oR2QnSn cAztxMOh7PzosQjeY53bQwEL2f8dr7eoCH/Je76utORFE5hdl9oohS/JmHQj6K1DvKhr flj2UbxsvnGxQyO5RT9OHOUjgaoZ0iSLYseFRKNeamyXKkN9Sj/0OyZHHW/zROMQZFtW vP0wG0uIY1KfRUthc8dUqcYw/NoSDQ3Sl/vWu5SyysEBZJ+myr29auhDsi9aXJAW0S4W 3L8g5hqA2Wctwjxt5kkxmPhCPCHYaD6Juh+LqHhhtDGiEDY4Qg1HB3XdRuWBe8iEopIY aVKQ== 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:mime-version :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=+6kZxlKJG86Z+7goQSio+X9/leY9eeHUIPXcjxNN0Do=; b=gGzw4tQvl2fE+fVUz8oLsWfngaZ/fNsPYsa/TbyRHUA7KiYr7ViJRUhQdCUPkIoepF 9nwwK+Og622zCM0CQfKJHPPI6mn0PRM8W+ufjk/kTn6TmWU8zhcsAD0Bsjqg43UsyGZO Q466lfkdJNHaPvz3bRX+l7RVEw09rzkc+WB5ScRlLW/lf7mM7ikWDP2RLD1Dl8WXmZkZ oD8bTzwIIXRqOO8VQlifz6619GLAHY/+3xqtHb0jdsh5lS1LKZ8D0Qw9xpDcdAxcJEra LH9ZDHD+DjOoos/hgY0Zho9yGeK8GVorzRwV/t7nnAOHpqQrzQ7edD/2w7FGeWMNOwS0 ZI0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=Z6QXkwTp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b10si5210791edx.469.2020.06.20.02.35.33; Sat, 20 Jun 2020 02:35:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=Z6QXkwTp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727858AbgFTJdv (ORCPT + 99 others); Sat, 20 Jun 2020 05:33:51 -0400 Received: from mail-40136.protonmail.ch ([185.70.40.136]:53117 "EHLO mail-40136.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726533AbgFTJdu (ORCPT ); Sat, 20 Jun 2020 05:33:50 -0400 Date: Sat, 20 Jun 2020 09:33:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1592645627; bh=+6kZxlKJG86Z+7goQSio+X9/leY9eeHUIPXcjxNN0Do=; h=Date:To:From:Cc:Reply-To:Subject:From; b=Z6QXkwTproBEynDrBVRFmsctfFAYDUmJKCQF4L/hCa5hl5TDPzlhz5I42mB34z1jw 4Yx53tsRHY6OGWXzd9mMsHNMFHkahD7jfBwGkoRYsK9j3JVb4Iq6YNF+JDtUxRjGbs tRx3A5Ja1sHcfSkhEeTtVRHvPBb8z173mxfLpeea3QalHA2kURuckz968mnRFsz67V JJGKUoC7xqEU+j7USMAepiAkJpB5wDkTU0KClnXAx5eNOonm7NEEudZOZ1e6JYMwKq p5gTR7uJjKZ5pHkY7lC8b8G2YaQy4VUqlX0Vr5ep4qPsuXyrFDiP69ag88JvgBk2Uz 52bQYR81GWj/g== To: Thomas Bogendoerfer From: Alexander Lobakin Cc: Alexandre Belloni , Paul Burton , Alexander Lobakin , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Reply-To: Alexander Lobakin Subject: [PATCH mips-next 0/3] MIPS: fix the two most annoying sparse floods Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.protonmail.ch Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This set addresses the two most annoying sparse floods when building the tree with C=3D{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(-) --=20 2.27.0