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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46E43C433F5 for ; Mon, 23 May 2022 19:59:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231929AbiEWT7O (ORCPT ); Mon, 23 May 2022 15:59:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231946AbiEWT7M (ORCPT ); Mon, 23 May 2022 15:59:12 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B840E7A468 for ; Mon, 23 May 2022 12:59:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 50B6161416 for ; Mon, 23 May 2022 19:59:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 796A6C385A9; Mon, 23 May 2022 19:59:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653335947; bh=750BtSsys/aCl5NK4dgSOi4e3+swQOIgrDjtOxmTdrI=; h=Date:From:To:Cc:Subject:From; b=NNA2Q8zl52P188ta4zKFUrvkY9yiL1Hh48zF3kGYWe0tdevgn+FFwnQln3psfTZ7/ SNSOOukpRuh8zb34J/a2roE2zXpgjyQJ80h+4awOHUP+On9MWmz4Z3PTn5XwKti1HS D/pJTkf838s7e/+xEFx5WYIJx3lcuVj5XgN2PW/q5tfc/c2XSHW8n5DLJrYpMGjXcL KJWEOrnTuKFYOBHXBX8WF9e/I0+Bzcd7YmT+yZ4y0WCxetTEiIMiJi6twwsoHk4I1T 60+AXEqO8U1dpmK4bZfFPBbhVxczp0dVV6pEAtF6A6i61JTcGwvnA6LVxBCu9YhzA2 4cfEspK2cMAMQ== Date: Mon, 23 May 2022 12:59:06 -0700 From: Jakub Kicinski To: Johannes Berg , Gregory Greenman Cc: Kalle Valo , linux-wireless@vger.kernel.org Subject: iwlwifi build warning on mips64 Message-ID: <20220523125906.20d60f1d@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi folks, looks like I'm hitting this on a mips64 build: drivers/net/wireless/intel/iwlwifi/pcie/trans.c:1093: warning: "CAUSE" redefined 1093 | #define CAUSE(reg, mask) \ | In file included from ../arch/mips/include/asm/ptrace.h:19, from ../include/linux/sched/signal.h:14, from ../include/linux/rcuwait.h:6, from ../include/linux/percpu-rwsem.h:7, from ../include/linux/fs.h:33, from ../arch/mips/include/asm/elf.h:12, from ../include/linux/elf.h:6, from ../include/linux/module.h:19, from ../include/linux/device/driver.h:21, from ../include/linux/device.h:32, from ../include/linux/pci.h:37, from ../drivers/net/wireless/intel/iwlwifi/pcie/trans.c:7: arch/mips/include/uapi/asm/ptrace.h:18: note: this is the location of the previous definition 18 | #define CAUSE 65 | Throw an IWL_ before it, maybe?