Tag: 34edd5f6839db083b625d473efa4145449cd1af0

ath9k_htc: match wait_for_completion_timeout return type

Author: Nicholas Mc Guire <hofrat@osadl.org> 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_hst.c:171 int return assigned to unsigned long ./drivers/net/wireless/ath/ath9k/htc_hst.c:277 int …

Continue reading