Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S943186AbcJSPKc (ORCPT ); Wed, 19 Oct 2016 11:10:32 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:35314 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S944061AbcJSPGi (ORCPT ); Wed, 19 Oct 2016 11:06:38 -0400 From: Ivan Safonov To: Greg Kroah-Hartman , Bhaktipriya Shridhar , Andy Shevchenko , Geliang Tang , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Cc: insafonov@gmail.com Subject: [PATCH 16/37] staging:r8188eu: change recvframe_pull last argument type Date: Wed, 19 Oct 2016 22:07:44 +0700 Message-Id: <1476889685-7367-16-git-send-email-insafonov@gmail.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1476889685-7367-1-git-send-email-insafonov@gmail.com> References: <1476889685-7367-1-git-send-email-insafonov@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 842 Lines: 23 uint instead of int used. This function always called with positive sz argument. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/include/rtw_recv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_recv.h b/drivers/staging/rtl8188eu/include/rtw_recv.h index 6a34e15..e661635 100644 --- a/drivers/staging/rtl8188eu/include/rtw_recv.h +++ b/drivers/staging/rtl8188eu/include/rtw_recv.h @@ -257,7 +257,7 @@ u32 rtw_free_uc_swdec_pending_queue(struct adapter *adapter); void rtw_reordering_ctrl_timeout_handler(unsigned long data); -static inline u8 *recvframe_pull(struct recv_frame *precvframe, int sz) +static inline u8 *recvframe_pull(struct recv_frame *precvframe, uint sz) { /* rx_data += sz; move rx_data sz bytes hereafter */ -- 2.7.3