Received: by 2002:a05:7412:1492:b0:e2:908c:2ebd with SMTP id s18csp645168rdh; Tue, 22 Aug 2023 06:51:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF/cM0zhGWeGykOxgcUeZ6ZttcTrsT6atL2crWIgMXcN0FFvzZrqAABnIr0B9fbnnMQerN+ X-Received: by 2002:a05:6a20:1447:b0:148:40cf:b832 with SMTP id a7-20020a056a20144700b0014840cfb832mr8593495pzi.18.1692712292483; Tue, 22 Aug 2023 06:51:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692712292; cv=none; d=google.com; s=arc-20160816; b=O+FIgzbhtkb/i779bg3X3MflkD3QUAsvLbEawz+V7wnC47T4VnPIPBBFqKKDl97x/f 7QJR6usYLZ2UKOAnN1q3ZGFoeDdkKsCAhMIshhPCR6XqXMA2KK+CfNaJWWPousyRdacL ucPLvwEdiil82tmL4rOZLDWAt8ebWvWHH+g/RLG2Rr2XnETA4h9cYzAKn/OuUagks4kL actXymv9kC8NZKXo/RsG2wSyI2f4YFX7zDt/TPpraFO3ioT+1gP1iTpPCSVw5tapuRhM XLH3Q12zpENigf+e1rs81BmCGs4RFrMA4jfbP5CyVahE2QWWEWHyUiSuhAEoS9AYT7Dl Wfsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=D7ySNrx9NLKfhowaJfW59FrKg7fbos5SiLIOKL5g2t4=; fh=vacog7yNy8neOStuQmQTDRNUO2ponFDP4AEKGIt6lF4=; b=FEBrmCosttgpmWbLUtx7G8LnCycof5shlTjHjcvaxdc6G0k0gO7doQJ0AlitMv62SH 9WLI2kxP9DEF3AyDVxQVy9AgzqZAub60rWZo2ozrwfLE42E5fZsQX/cJwmlnjVPSWzH7 pjizGbp71nStxpae7WjcEtX45FL7LDLWQCZdP+LKnpTdTKNY4W0UF2+6tTNTf8wTIbok RJfHC0fgpA3CgQ/luoDJghtloV0xgtFT5Nt8o3Ckop0AHwsr/vGrgckFJ1lH6ZpPBiHv uNV0A4LDEm27vptcSNjAp9MZVKCT1seOOl+Rf+D1hWmgNK9q6cP8xi3Jxwf+xYn2bUbC 9Eng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TjQkRAk5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a22-20020a056a000c9600b0068a4ded3fefsi4555015pfv.17.2023.08.22.06.51.09; Tue, 22 Aug 2023 06:51:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TjQkRAk5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235911AbjHVM6y (ORCPT + 99 others); Tue, 22 Aug 2023 08:58:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235871AbjHVM6y (ORCPT ); Tue, 22 Aug 2023 08:58:54 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC2C6CD4; Tue, 22 Aug 2023 05:58:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4873765633; Tue, 22 Aug 2023 12:58:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D32EDC433C7; Tue, 22 Aug 2023 12:58:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692709131; bh=ouJsox1dbFodWlwTb64apxEwUqHQswiCqUxFBwL0Plg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=TjQkRAk5xWRCLsWrlWRCgn/FFZnH2SGAAUBxVWjdJkfQ9zEu8ZFw28GolATRmVlPR CxI40I+WDWoUpx8lyiJ1U8UdB9eFh4GwDa8SvH7kolJtzGeB3Q08hrMzCNt1SUU66N KnXEZ+sVjoXyNYhqktyTCglgA59BDcFMrV2CRnapTrQCE+4/GG+VOnJ0xownMuu4mc ltCMZ+DDtAukOBTowEyArTgJg3tTmt9pAPrY9vZT22xuzXut9mgkxe6+dT/H/W3Ft+ 8P2LfPJGlkl3lNWRlAOl2RdX5ac73Y9JH1avw2+vQoBZOYNLabbPsrHQTyN9m/q+2m OsoQhclu5QUGw== From: Kalle Valo To: Krzysztof Kozlowski Cc: Jeff Johnson , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, ath11k@lists.infradead.org, Andi Shyti Subject: Re: [PATCH net-next 1/2] wifi: ath11k: fix Wvoid-pointer-to-enum-cast warning References: <20230810091224.70088-1-krzysztof.kozlowski@linaro.org> Date: Tue, 22 Aug 2023 15:58:47 +0300 In-Reply-To: <20230810091224.70088-1-krzysztof.kozlowski@linaro.org> (Krzysztof Kozlowski's message of "Thu, 10 Aug 2023 11:12:23 +0200") Message-ID: <87jztni67s.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Krzysztof Kozlowski writes: > 'hw_rev' is an enum, thus cast of pointer on 64-bit compile test with W=1 > causes: > > h11k/ahb.c:1124:11: error: cast to smaller integer type 'enum ath11k_hw_rev' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast] > > Signed-off-by: Krzysztof Kozlowski ath11k patches go to my ath.git tree, not net-next. But no need to resend because of this. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches