From patchwork Sat Mar 11 03:24:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arushi X-Patchwork-Id: 9618343 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 A60AA60417 for ; Sat, 11 Mar 2017 03:24:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 96E73287B2 for ; Sat, 11 Mar 2017 03:24:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8B256287B4; Sat, 11 Mar 2017 03:24:27 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID 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 3D6D1287B2 for ; Sat, 11 Mar 2017 03:24:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933213AbdCKDY0 (ORCPT ); Fri, 10 Mar 2017 22:24:26 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:35273 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932687AbdCKDYW (ORCPT ); Fri, 10 Mar 2017 22:24:22 -0500 Received: by mail-pf0-f196.google.com with SMTP id 67so12687921pfg.2; Fri, 10 Mar 2017 19:24:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=5lXH+crviaZvYL5TIKj0YKyuSBdEvpJGtvWTX9MAqWc=; b=YVnocWJRkFeF/TvMCgFFtCZqT50b1UIY180Erq2Ae0eOiTFM3CgNEC41B8ucExh8qo Tvr3KIkWZAVkz1DmvafbN1NsI6Md2eqaGtlkBLmDcfxXY9LoCUNjuAkHCRx3sDpmwug3 iC1eyyOVWIfNWCmDddIm40R10ID2Se+8xCSUkZXNcKSaH5V+M5r3bTBDl5v4ev381Rvz 5/L/0borsFSJmK+/OcoFkyVr6h/YxsoT5bfCwrou6shQJxvPdy0yifFCOAtspCfKncLj KEelMaORyEHbKC+kgJdHxdv/8+V97bXDWAR+1uiLDSCzncflU9SqOFGHYJbDA88ZfLAF 6geA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=5lXH+crviaZvYL5TIKj0YKyuSBdEvpJGtvWTX9MAqWc=; b=f4G1VqaLXOD9/z2a8MtQmwJFzm3lO6TFFLX81tYzGsIpIchzKT8LnEhnis+DRG1VRa EGuhwt/1guYZbuWtjKcJNJKpTrJCCTlub0IYgAX1L2b7KNg1iMq/eO8GSdejMp4GpCpa Z9KaZo2bcP8R2wJAPB8R4dQpWdwrAOAPD4Q98fcGZU3u3kw+PfN/bpVqhOZM1bIeC1DM WxZADNwrijziDI2XyFBZ7l8wfWFvhIGkcqniu3FWShX486aLIY3+teeMDr+0oQVXRJHj 3KHvk4ygcOsGFx6BD7n3hmT29BLIRJRcGtqavSr/EEnepKDea+J+Dclnfzj16LhbCKpK KW2Q== X-Gm-Message-State: AMke39kz3onNpbzv8w7MGCbVuaIFE3J/wQ9m7fxV6rihb1B4tjiT3iT1yiSY/23DOleWpg== X-Received: by 10.99.127.14 with SMTP id a14mr24424755pgd.64.1489202660809; Fri, 10 Mar 2017 19:24:20 -0800 (PST) Received: from arushi-HP-Pavilion-Notebook ([14.139.82.6]) by smtp.gmail.com with ESMTPSA id g27sm21012650pfk.95.2017.03.10.19.24.18 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Mar 2017 19:24:19 -0800 (PST) From: Arushi Singhal To: outreachy-kernel@googlegroups.com Cc: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Arushi Singhal Subject: [PATCH 1/3] staging: sm750fb: function prototype argument should have an identifier name Date: Sat, 11 Mar 2017 08:54:08 +0530 Message-Id: <20170311032410.8265-2-arushisinghal19971997@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170311032410.8265-1-arushisinghal19971997@gmail.com> References: <20170311032410.8265-1-arushisinghal19971997@gmail.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP function prototype arguments like 'struct vb_device_info *','unsigned long' etc. should have an identifier name. Signed-off-by: Arushi Singhal --- drivers/staging/sm750fb/ddk750_display.h | 2 +- drivers/staging/sm750fb/ddk750_mode.h | 2 +- drivers/staging/sm750fb/ddk750_power.h | 2 +- drivers/staging/sm750fb/sm750.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_display.h b/drivers/staging/sm750fb/ddk750_display.h index e2a3f84ca4c5..609bf742efff 100644 --- a/drivers/staging/sm750fb/ddk750_display.h +++ b/drivers/staging/sm750fb/ddk750_display.h @@ -102,6 +102,6 @@ typedef enum _disp_output_t { } disp_output_t; -void ddk750_setLogicalDispOut(disp_output_t); +void ddk750_setLogicalDispOut(disp_output_t output); #endif diff --git a/drivers/staging/sm750fb/ddk750_mode.h b/drivers/staging/sm750fb/ddk750_mode.h index 2183e664cf4b..6d204b8b4a01 100644 --- a/drivers/staging/sm750fb/ddk750_mode.h +++ b/drivers/staging/sm750fb/ddk750_mode.h @@ -34,6 +34,6 @@ typedef struct _mode_parameter_t { } mode_parameter_t; -int ddk750_setModeTiming(mode_parameter_t *, clock_type_t); +int ddk750_setModeTiming(mode_parameter_t *parm, clock_type_t clock); #endif diff --git a/drivers/staging/sm750fb/ddk750_power.h b/drivers/staging/sm750fb/ddk750_power.h index ec0b99d6a7ad..44c4fc587e96 100644 --- a/drivers/staging/sm750fb/ddk750_power.h +++ b/drivers/staging/sm750fb/ddk750_power.h @@ -14,7 +14,7 @@ DPMS_t; (peek32(MISC_CTRL) & ~MISC_CTRL_DAC_POWER_OFF) | (off)); \ } -void ddk750_set_dpms(DPMS_t); +void ddk750_set_dpms(DPMS_t state); void sm750_set_power_mode(unsigned int powerMode); void sm750_set_current_gate(unsigned int gate); diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h index 306711ed55f9..5ea455dee949 100644 --- a/drivers/staging/sm750fb/sm750.h +++ b/drivers/staging/sm750fb/sm750.h @@ -184,7 +184,7 @@ static inline unsigned long ps_to_hz(unsigned int psvalue) } int hw_sm750_map(struct sm750_dev *sm750_dev, struct pci_dev *pdev); -int hw_sm750_inithw(struct sm750_dev*, struct pci_dev *); +int hw_sm750_inithw(struct sm750_dev *sm750_dev, struct pci_dev *pdev); void hw_sm750_initAccel(struct sm750_dev *); int hw_sm750_deWait(void); int hw_sm750le_deWait(void);