From: Kalle Valo <kvalo@kernel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Jeff Johnson <quic_jjohnson@quicinc.com>,
ath10k@lists.infradead.org, linux-wireless@vger.kernel.org,
linux-kernel@vger.kernel.org, ath11k@lists.infradead.org,
Andi Shyti <andi.shyti@kernel.org>
Subject: Re: [PATCH net-next 1/2] wifi: ath11k: fix Wvoid-pointer-to-enum-cast warning
Date: Tue, 22 Aug 2023 15:58:47 +0300 [thread overview]
Message-ID: <87jztni67s.fsf@kernel.org> (raw)
In-Reply-To: <20230810091224.70088-1-krzysztof.kozlowski@linaro.org> (Krzysztof Kozlowski's message of "Thu, 10 Aug 2023 11:12:23 +0200")
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 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 <krzysztof.kozlowski@linaro.org>
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
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
WARNING: multiple messages have this Message-ID (diff)
From: Kalle Valo <kvalo@kernel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Jeff Johnson <quic_jjohnson@quicinc.com>,
ath10k@lists.infradead.org, linux-wireless@vger.kernel.org,
linux-kernel@vger.kernel.org, ath11k@lists.infradead.org,
Andi Shyti <andi.shyti@kernel.org>
Subject: Re: [PATCH net-next 1/2] wifi: ath11k: fix Wvoid-pointer-to-enum-cast warning
Date: Tue, 22 Aug 2023 15:58:47 +0300 [thread overview]
Message-ID: <87jztni67s.fsf@kernel.org> (raw)
In-Reply-To: <20230810091224.70088-1-krzysztof.kozlowski@linaro.org> (Krzysztof Kozlowski's message of "Thu, 10 Aug 2023 11:12:23 +0200")
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 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 <krzysztof.kozlowski@linaro.org>
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
--
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
WARNING: multiple messages have this Message-ID (diff)
From: Kalle Valo <kvalo@kernel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Jeff Johnson <quic_jjohnson@quicinc.com>,
ath10k@lists.infradead.org, linux-wireless@vger.kernel.org,
linux-kernel@vger.kernel.org, ath11k@lists.infradead.org,
Andi Shyti <andi.shyti@kernel.org>
Subject: Re: [PATCH net-next 1/2] wifi: ath11k: fix Wvoid-pointer-to-enum-cast warning
Date: Tue, 22 Aug 2023 15:58:47 +0300 [thread overview]
Message-ID: <87jztni67s.fsf@kernel.org> (raw)
In-Reply-To: <20230810091224.70088-1-krzysztof.kozlowski@linaro.org> (Krzysztof Kozlowski's message of "Thu, 10 Aug 2023 11:12:23 +0200")
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 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 <krzysztof.kozlowski@linaro.org>
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
next prev parent reply other threads:[~2023-08-22 12:59 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-10 9:12 [PATCH net-next 1/2] wifi: ath11k: fix Wvoid-pointer-to-enum-cast warning Krzysztof Kozlowski
2023-08-10 9:12 ` Krzysztof Kozlowski
2023-08-10 9:12 ` Krzysztof Kozlowski
2023-08-10 9:12 ` [PATCH net-next 2/2] wifi: ath10k: " Krzysztof Kozlowski
2023-08-10 9:12 ` Krzysztof Kozlowski
2023-08-10 9:12 ` Krzysztof Kozlowski
2023-08-10 13:36 ` Jeff Johnson
2023-08-10 13:36 ` Jeff Johnson
2023-08-10 13:36 ` Jeff Johnson
2023-08-10 13:36 ` [PATCH net-next 1/2] wifi: ath11k: " Jeff Johnson
2023-08-10 13:36 ` Jeff Johnson
2023-08-10 13:36 ` Jeff Johnson
2023-08-22 12:58 ` Kalle Valo [this message]
2023-08-22 12:58 ` Kalle Valo
2023-08-22 12:58 ` Kalle Valo
2023-08-23 14:10 ` Kalle Valo
2023-08-23 14:10 ` Kalle Valo
2023-08-23 14:10 ` Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87jztni67s.fsf@kernel.org \
--to=kvalo@kernel.org \
--cc=andi.shyti@kernel.org \
--cc=ath10k@lists.infradead.org \
--cc=ath11k@lists.infradead.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=quic_jjohnson@quicinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.