Historical ath9k-devel archives
 help / color / mirror / Atom feed
* [ath9k-devel] ath9k_htc: drv_init: match wait_for_completion_timeout return type
       [not found] <1431620726-31680-1-git-send-email-hofrat@osadl.org>
@ 2015-08-13 12:26 ` Kalle Valo
  0 siblings, 0 replies; only message in thread
From: Kalle Valo @ 2015-08-13 12:26 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/htc_drv_init.c:81
> 	int return assigned to unsigned long
> 
> Patch was compile tested with x86_64_defconfig + CONFIG_ATH_CARDS=m,
> CONFIG_ATH9K_HTC=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:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1431620726-31680-1-git-send-email-hofrat@osadl.org>
2015-08-13 12:26 ` [ath9k-devel] ath9k_htc: drv_init: 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