From patchwork Wed May 9 20:08:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 10390797 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DF90760318 for ; Wed, 9 May 2018 20:08:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CFC7726CFF for ; Wed, 9 May 2018 20:08:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C474F27CF3; Wed, 9 May 2018 20:08:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 625F026CFF for ; Wed, 9 May 2018 20:08:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965101AbeEIUIL (ORCPT ); Wed, 9 May 2018 16:08:11 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:51185 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964883AbeEIUIJ (ORCPT ); Wed, 9 May 2018 16:08:09 -0400 Received: by mail-wm0-f68.google.com with SMTP id t11-v6so519220wmt.0 for ; Wed, 09 May 2018 13:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=7oYVlQaPiYq1i2bUXjQRdRpR0XutUasgrPw1SC1a0vk=; b=O/Ei+OS92DgdFT2lr5HV+ZrHfwHkgCwkw5V57ZReMOYDTYib2PDTkDXQH0lKaiuXVd DNYxjfxQauq6CyLOOe4YsTdsMa4o3d0+8qDMrsfu93F3ZgDVSNyUX+zo/SP5yzWZpuWH HjtYmNUG5D1K4029AVxgwRlw2vWqht8zo9Fzc+EPojSXXUdSs0kbDGc0vdFKJnJb12kn eP7LO+TbZC9UttbKnM/xzDQugcKr8iRcMMowXJPLDiLQZ7nHXzJChL9X4+jmJzQOhkQI 9tvG92/0JlJ5xiTWuWKk0vfhURGVGpCduBIzZ+JPpv66sf+Wr6HjEfAZ9ugxlYn3RTnP LAfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=7oYVlQaPiYq1i2bUXjQRdRpR0XutUasgrPw1SC1a0vk=; b=SsXOutRuNLE8hEcEUyf8vC7XA1yU/syUrgltxoE7Flc0oQt+CO6/O/F8xeibmCwP00 C13BPTVuah+brKNdXxndbgtbpWUm35Alvsz92G72nmHNrldhGvY27MS13onab0g8I04Q ztemz87bdPaqGrGLhtibAAMorni2GnmBAfQzm+vDcGlJ6M/Gs3J4IQKY7FuWP35ioG8H b5WDAuwskz4LPLMBe1XLgHdv1Gdu1UZx5Ol86YhWTzhJFyxAgaohuW8e83n1/Aah5TA6 dWcAVfG3bXIs4hEhfgx756i2Vf5TCQ6nColNuTKKJBSGywgKKNdosPknKrbPDL+kWNpd XlVw== X-Gm-Message-State: ALKqPwchybBBp2DJXyt5l1wCbxYK4w+gKRB1PSmxkIeeLbKmWx5XuvPE O1CoxQhf0cZ8vZ9NfY1dAGlUZg== X-Google-Smtp-Source: AB8JxZqKyKC7O+r/w5mQltE0hlexBfKkCtsnkRkq3ShZ0E8MGoU98PSu10KRYgiPhkZKFF9542ezlg== X-Received: by 2002:a1c:36e9:: with SMTP id y102-v6mr6440750wmh.152.1525896487747; Wed, 09 May 2018 13:08:07 -0700 (PDT) Received: from dvbdev.wuest.de (ip-176-199-71-134.hsi06.unitymediagroup.de. [176.199.71.134]) by smtp.gmail.com with ESMTPSA id b66sm17813037wma.48.2018.05.09.13.08.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 May 2018 13:08:07 -0700 (PDT) From: Daniel Scheller To: linux-media@vger.kernel.org, mchehab@kernel.org, mchehab@s-opensource.com, mchehab+samsung@kernel.org Subject: [PATCH 2/4] [media] ddbridge/mci: add identifiers to function definition arguments Date: Wed, 9 May 2018 22:08:01 +0200 Message-Id: <20180509200803.5253-3-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180509200803.5253-1-d.scheller.oss@gmail.com> References: <20180509200803.5253-1-d.scheller.oss@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Daniel Scheller Fixes two checkpatch warnings WARNING: function definition argument 'xxx' should also have an identifier name in the ddb_mci_attach() prototype definition. checkpatch keeps complaining on the "int (**fn_set_input)" as it seems to have issues with the ptr-to-ptr, though this probably needs fixing in checkpatch. Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridge/ddbridge-mci.c | 2 +- drivers/media/pci/ddbridge/ddbridge-mci.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/pci/ddbridge/ddbridge-mci.c b/drivers/media/pci/ddbridge/ddbridge-mci.c index 8d9592e75ad5..4ac634fc96e4 100644 --- a/drivers/media/pci/ddbridge/ddbridge-mci.c +++ b/drivers/media/pci/ddbridge/ddbridge-mci.c @@ -500,7 +500,7 @@ static int probe(struct mci *state) struct dvb_frontend *ddb_mci_attach(struct ddb_input *input, int mci_type, int nr, - int (**fn_set_input)(struct dvb_frontend *, int)) + int (**fn_set_input)(struct dvb_frontend *fe, int input)) { struct ddb_port *port = input->port; struct ddb *dev = port->dev; diff --git a/drivers/media/pci/ddbridge/ddbridge-mci.h b/drivers/media/pci/ddbridge/ddbridge-mci.h index 453dcb9f8208..209cc2b92dff 100644 --- a/drivers/media/pci/ddbridge/ddbridge-mci.h +++ b/drivers/media/pci/ddbridge/ddbridge-mci.h @@ -151,6 +151,6 @@ struct mci_result { struct dvb_frontend *ddb_mci_attach(struct ddb_input *input, int mci_type, int nr, - int (**fn_set_input)(struct dvb_frontend *, int)); + int (**fn_set_input)(struct dvb_frontend *fe, int input)); #endif /* _DDBRIDGE_MCI_H_ */