Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755507AbbHQOnD (ORCPT ); Mon, 17 Aug 2015 10:43:03 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:38571 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755036AbbHQOnA (ORCPT ); Mon, 17 Aug 2015 10:43:00 -0400 From: Kalle Valo To: Nicholas Mc Guire Cc: Vladimir Kondratiev , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] wil6210: match wait_for_completion_timeout return type References: <1431603686-24029-1-git-send-email-hofrat@osadl.org> Date: Mon, 17 Aug 2015 17:42:51 +0300 In-Reply-To: <1431603686-24029-1-git-send-email-hofrat@osadl.org> (Nicholas Mc Guire's message of "Thu, 14 May 2015 13:41:26 +0200") Message-ID: <87io8edlhw.fsf@kamboji.qca.qualcomm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 953 Lines: 29 Nicholas Mc Guire writes: > Return type of wait_for_completion_timeout is unsigned long not int. > As remain 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/wil6210/wmi.c:827 > int return assigned to unsigned long > > Patch was compile tested with x86_64_defconfig + CONFIG_ATH_CARDS=m, > CONFIG_WIL6210=m > > Patch is against 4.1-rc3 (localversion-next is -next-20150514) > > > Signed-off-by: Nicholas Mc Guire Thanks, applied to ath.git. -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/