Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2538596ybz; Sun, 19 Apr 2020 03:50:29 -0700 (PDT) X-Google-Smtp-Source: APiQypKNlzoqw0xyCIGNklMfYRJFHZfpA3pxzPb+r7HDmraqkHzfsySL+Tw2uRweTwcOLRFa7Bag X-Received: by 2002:a17:906:f0e:: with SMTP id z14mr1252998eji.37.1587293429714; Sun, 19 Apr 2020 03:50:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587293429; cv=none; d=google.com; s=arc-20160816; b=EV1Vi3EOrpx2S9Rfe6c1FcEDh06dA4t9sE9/5L8XJIgintIkyWpGzsNX0VSnAsjPpa r11FUcQANtkXBRat/AZKuqn07dP8Z9x96U95IGqiiT1SO01xdg8iwffWnV6vwHNXqViV CeRJIBOuQn/ywJI7L4WjdIIyUYw2aGSUBjzPTFD4Cbm1ecTb2duA8hsM09dXWK+f1/Mw UUxas7jJ+SaF38yuTku9KzkAn6V4kdi3rYoS2jfXgCrllvLMn4e21mM27D7kGTrU7lKa 11PxJlj9HF+xExIYyfkoGAgRSS2O1h5F38oXolGeCMbUMYoO2SRtoZZJ8Hm6uVTIBOK8 KccA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0ZKeBsJ0xfwBJL+EutBgcr9y3BUx3uoqMxOspjlTZAw=; b=efmnM9rLJMDL9h1CJ3+/+2nybicASUbhysMYNvnXiqe1chUvlWkS+z8HJ63TjqMMEd P/Z5TVooHJOgKqL2DAY6zsN6O/vtgltssuqSuuR7Pkp2/O9/vbxdo5xZu4qPC8XNKdo/ 2RkqMqVZ2fmck7dP+F9zvVfdvXJbnsJqAfE3ieb0mGGHXNQLRbvtw3I6qjlwaZgEXrG7 1T69k4iIPzYtyzW/URFElGj2aC9cDq/sMuUMUSZhS11/9c5GORiCMJssPPpsuLs+QIrX VG3PhrB4fSHOT3Yyo2o1F5qsD+mrvswPju4xVvRoMQRw738VZZeMwmJE4yYikIzu/Nsx BA6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=jYncgqpe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p20si16114876ejw.505.2020.04.19.03.50.06; Sun, 19 Apr 2020 03:50:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=jYncgqpe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725953AbgDSKtH (ORCPT + 99 others); Sun, 19 Apr 2020 06:49:07 -0400 Received: from mout.gmx.net ([212.227.15.15]:34387 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725923AbgDSKtH (ORCPT ); Sun, 19 Apr 2020 06:49:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1587293325; bh=3jAo2O3TXaZEMKOZIe9E3hE/PYAWmrtw7jQ9+z5eaJE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=jYncgqpe8y4utXxE+6eQ2f610VSV60Nojmu9lZTaiewd29d0qRmVMlpFe5TbWzwgc oIae0d73VxkS3iElZ52ujljqdoEdy3iXH3jqAZFEPwicqxrayEm9NpOXKICmZRm+0o See+J6wCGr2P1b0CMVHQDsLrgI5nXavT1pSuv6vs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([83.52.229.196]) by mail.gmx.com (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1Mz9Un-1j5AmE0mP5-00wCkR; Sun, 19 Apr 2020 12:48:45 +0200 From: Oscar Carter To: Forest Bond , Greg Kroah-Hartman Cc: Oscar Carter , Quentin Deslandes , Malcolm Priestley , Amir Mahdi Ghorbanian , Stefano Brivio , "John B. Wyatt IV" , Colin Ian King , Dan Carpenter , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] staging: vt6656: Check the return value of vnt_control_out_* calls Date: Sun, 19 Apr 2020 12:48:19 +0200 Message-Id: <20200419104821.6127-1-oscar.carter@gmx.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Jr0uXI0eYb4k4tV/gk2x4YSRsAgSc7y3yCVahYpded4aybrF7wh YgpHxv+mEFJKfx/ecf0p8JLOQUfBhv1Xp9FFR8grC/OEhPmFH3+KwcJmxmKMgtnWArpuagK Uju8g4b7vHTrLHN6/xCUYei8Efu+/klpBFvK+OfAxP2a9suzZPN7Suoe5sG2+jePVOzJ1Lv +57xbnmJfrA6Ym85LYtFA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:o/Js2WZO5M0=:e2R2N3P1srnFYT2n5WForO JYTt0kzHdRB642tbU1aGHY1uLWtjnp2Fru5cbfXGIzphSyyrWGV1RIejJD6vtTLakkZUpgHSI giaHICMecJN4IL/4hqoQ9vxTCjiDPSbyDheKsmsCqgkNjftCDcXzu1cTdwI1Tv6A354HfiyDU ySthGKlo4sKY/y3cZQwqgG2zMSPGMjYQjWgEWodikklBhYoN5ALb6NbIzR6xQIEZd3wEYua2y egqLhAZf3S+001RN+Rj36HofxdPNlQ6vAUNTei/0W38L2bFpyGQTg37TR19hyOzBJduXIR7Uv BxzecpCmzlEfcxJ3vVzZITIhRxCZGA9AzyFq/YSl/pg593eeuH5hkIz5b28QS8t33M+gZw88S jpZlTUIzahQDRAT4oYtp0f+WrT17N8HMJWg9wP6iuezAb0KnqHYoaMrOhrzjnG9SkbQQj1NYv SeQKSKT5XSfKMhmDoSOH9EnCZemJRse0dyzzs+WJUXSYd9tNWDSDFfshdI1YH/9Tsq/d1MWji 7dpbCQbmePy/uTUWsIZRcF4bCzChwe8k/DHkzDVJ2d+dYtBET3ixMAq3SIOa4ItXGJ7nuYug4 L2moOWALVCapIn9xm2dBpoBvSS/sYcsLIjYhgzIFpdv9cqsx0qQzyuEiPPAYWBCoDCTLUGurn FrmNP7BG0iEMWe/m3Af8QOUXkF1GTh0eX1b5TaLI5F3IfGwcMnke/9jK7Y3c6msDcLaIHiRA2 NbQ/V7AEZF+rQI6mMFfjLzDFVT4jfJ6FrDeB+6rhYW/94Nr4pv1L0UIaK9CEBQ2KGe5xAWHNg iEK54x/1cfwqo3pufXXIj0Vn6vo2s+g+wlAC0OujneZWEMOXeMfx2wlnBQxD8zPR89POX+Rix rEHkSuGPTVU76cnjlzKQbBrQ6ZdhMNM/3hOEif3OvMaxkCYraFAOV+btub6xmdOnmmdCTmkYw ngmFya5ssoZGuc22bslqngbTVA/txpBSV9MIoprFQK/vXXUznlLFP4hnQoVXYTKWi0ay1i/ir aIoSJCAmSuxmxiHokTUml0xL5fY5MW2o4sGC2U3TNVuAiVHo+njoC11mrgVpfdiAOP9UAeTpc JbTGIRHINqvMP30qljbzVqfr4kRux2CmSrsh5FeRJUHVRp16DnFgMH8eKpJVrlXy67/6NzeOW 9eirxFIrEpZDMCfC9w9EYhC8VpoHBzW9EpxAu8GeDGcKLY/ilayWRI+keOnOa3dqWWU0mT3DW vyulUpJS7c866Yn1Y Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series checks the return value of vnt_control_out_* function calls. The first patch checks the return value and when necessary modify the function prototype to be able to return the new checked error code. The second patch removes the documentation of functions that their prototype has changed as the function names are clear enought. Also, the actual documentation is not correct in all cases. Changelog v1 -> v2 - Remove the function's documentation instead of fix them as suggested Malcolm Priestley. Oscar Carter (2): staging: vt6656: Check the return value of vnt_control_out_* calls staging: vt6656: Remove functions' documentation drivers/staging/vt6656/baseband.c | 35 +++--- drivers/staging/vt6656/baseband.h | 4 +- drivers/staging/vt6656/card.c | 176 +++++++++++------------------- drivers/staging/vt6656/card.h | 18 +-- drivers/staging/vt6656/mac.c | 128 +++++++--------------- drivers/staging/vt6656/mac.h | 26 ++--- drivers/staging/vt6656/power.c | 22 ++-- drivers/staging/vt6656/power.h | 2 +- 8 files changed, 156 insertions(+), 255 deletions(-) =2D- 2.20.1