* [ath9k-devel] ath9k: match wait_for_completion_timeout return type
[not found] <1431622576-9183-1-git-send-email-hofrat@osadl.org>
@ 2015-08-13 12:27 ` Kalle Valo
0 siblings, 0 replies; only message in thread
From: Kalle Valo @ 2015-08-13 12:27 UTC (permalink / raw)
To: ath9k-devel
> Return type of wait_for_completion_timeout is unsigned long not int.
> As time_left is exclusively used for wait_for_completion_timeout here its
> type is simply changed to unsigned long.
>
> API conformance testing for completions with coccinelle spatches are being
> used to locate API usage inconsistencies:
> ./drivers/net/wireless/ath/ath9k/link.c:197
> int return assigned to unsigned long
>
> Patch was compile tested with x86_64_defconfig + CONFIG_ATH_CARDS=m,
>
> Patch is against 4.1-rc3 (localversion-next is -next-20150514)
>
> Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Thanks, applied to wireless-drivers-next.git.
Kalle Valo
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-08-13 12:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1431622576-9183-1-git-send-email-hofrat@osadl.org>
2015-08-13 12:27 ` [ath9k-devel] ath9k: match wait_for_completion_timeout return type Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox