From patchwork Wed Oct 26 10:56:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: UMWARI JOVIAL X-Patchwork-Id: 11188 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp192617wru; Wed, 26 Oct 2022 04:03:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4VsCd96Nnypc5U4DCTgG83G43jkn547S7oskBbcjJF9N0An9+dPg9pzm4OtAgYcsLL3Qt7 X-Received: by 2002:a17:906:4fcb:b0:791:9a26:376f with SMTP id i11-20020a1709064fcb00b007919a26376fmr36784533ejw.431.1666782215527; Wed, 26 Oct 2022 04:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666782215; cv=none; d=google.com; s=arc-20160816; b=QuT8tLS+T1xAYEqboFxJQNJukdfs14ScvVUMaGjyu1YTrj9hHBRyciv9624kgxDE2v W0CcGIuFiZjkX2ZBFOvpEGBSim2yPLbDXb7O+OwHQm4p4Pm2XB/hS4BDRrjD1zptMwb4 Cd74qsFEpGtSaiia6nLJ0DMNTdtCzDXAMxLQtN++XwmbN1T7p0FlyZQMFfEaJshA+udu UhDxf/Ed6eNPx7f9Yl/jQCa9iaF3cdBbIUmUA+ZSN+ltfLWIZ6zRl4geJkehcIsz8is2 HUYZFDbLAWea20Gsm1TGgvhb/ff9WeYMwqih7mLnES28UwH4cNr/yYHUeccfWfhL6YTT f32A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=f8fw059w/DKGSzGISpKiD55jlFKGFxUmcqcrxLcKoWk=; b=xGPPwafW4kzHhpzJHCvDMf2SKUWGGrpCroie8Uyeow+xdu3NpSc0CNlmXKyzkeGWSo 591UsmjqcEFdDUpKCqRH2iQI7Ipv8hG3ial4cjmIl7K9Gt7f0a4kMkA+/23pgdIvHC14 SDwiLKhY3eaNg5A79KrsUPPrA/0vpWYk6u/ANPRmUf9HQB3e/e2rSxAqyRoMclHUZbuj lX8NwPao8UzkhGbrIQeYRIfcuHirIfrOkvliimMoZ/qDU/oDrQ+PgQR3velyC4Jgold2 j66yaDsIxZAQDut4wKqvhAEXmBsuwL7osBiu5YxWGKOiw+HZjsa+YswOlnpHdCgP0x5g llWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CLEyjBFa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sh33-20020a1709076ea100b007a9c3366e9asi5649319ejc.716.2022.10.26.04.03.08; Wed, 26 Oct 2022 04:03:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CLEyjBFa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233456AbiJZK4Y (ORCPT + 99 others); Wed, 26 Oct 2022 06:56:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231903AbiJZK4X (ORCPT ); Wed, 26 Oct 2022 06:56:23 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69DCF62A45 for ; Wed, 26 Oct 2022 03:56:22 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id 21so6813084edv.3 for ; Wed, 26 Oct 2022 03:56:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=f8fw059w/DKGSzGISpKiD55jlFKGFxUmcqcrxLcKoWk=; b=CLEyjBFayA83BBqUPHPVD2k/po+HkWh80ebuuSYJmU6QuV0NfDstV9jg4d+d3EgyME WApB62DSAgaDijYteIBvDCaxHE8heH4IGMqAJiheySzR77fbZWNpBVeAWv04GbJUdnAV /RfIbn1PNj7MREkpjGK8I0wpN3Ymy+M0JIRrNPsnFEPqOAi+y8MIQaOy/+cbcrs7/d/0 gdMzMiKZWy4llAsPQeQthS+0qlJhhYbR7S7r5eIMLYFwtVAItFWAfKU8PTwU7EvC/ouO ZJmGUlIxj9lV1LIKH3ZSp1nqWKEO2+pt/iuQlsGsIoz5YADu3ZplTV5uBJRuej9VJZLQ ue7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=f8fw059w/DKGSzGISpKiD55jlFKGFxUmcqcrxLcKoWk=; b=HcvhwCOXOwTBfvioUOuwsJjwoy1iSGhFRCVx5yaWlavVofFpLNmfnSH1z99YM7qoO1 uWCauXyTnHLFO8t0wmgkGdpPMj9Xwl03GmnORZal0dQSdpXTIZcPHazC18HfcEt2XIBV S9edjSNvu628XUK4rrqbtoVHYTBPl3cjSw+vkRHMowNyjwYujy5GsTxaKXjeEwtQEj5V v4UA35/31GSZUlJ4LwIgGqSYtMP+N+vR6UckncfyzbGq8O/P5DnwSO7yYvycd7J+g0JP S+72Lz9a8Nq3QU8hD2w6yOBdrrLUR7lQVCVYFA5oQZcbBpCA1UhzNOPhtH+ejGmaLf83 s+XQ== X-Gm-Message-State: ACrzQf2fhW6RblUC29P5lmBxTOb+iy/p2BUS4mBFC2BRy76Gt6DqR1rA W5iS/JmLC9KyuoKII5VZkIrqep2PEfvcPCi3 X-Received: by 2002:aa7:c14b:0:b0:461:c47d:48cf with SMTP id r11-20020aa7c14b000000b00461c47d48cfmr14101576edp.83.1666781781005; Wed, 26 Oct 2022 03:56:21 -0700 (PDT) Received: from rdm ([41.75.188.39]) by smtp.gmail.com with ESMTPSA id g8-20020aa7d1c8000000b004589da5e5cesm3265597edp.41.2022.10.26.03.56.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 03:56:20 -0700 (PDT) Date: Wed, 26 Oct 2022 13:56:11 +0300 From: UMWARI JOVIAL To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Outreachy Linux Subject: [PATCH] staging: most: dim2: hal: aligning function parameters Message-ID: <20221026105611.GA37633@rdm> MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747747828404652851?= X-GMAIL-MSGID: =?utf-8?q?1747747828404652851?= According to Linux Kernel Coding Style, lines should not end with a '(' Fix-issue reported by checkpatch.pl script. Signed-off-by: UMWARI JOVIAL --- drivers/staging/most/dim2/hal.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/most/dim2/hal.c b/drivers/staging/most/dim2/hal.c index a5d40b5b138a..6abe3ab2b2cf 100644 --- a/drivers/staging/most/dim2/hal.c +++ b/drivers/staging/most/dim2/hal.c @@ -346,9 +346,8 @@ static void dim2_clear_ctram(void) dim2_clear_ctr(ctr_addr); } -static void dim2_configure_channel( - u8 ch_addr, u8 type, u8 is_tx, u16 dbr_address, u16 hw_buffer_size, - u16 packet_length) +static void dim2_configure_channel(u8 ch_addr, u8 type, u8 is_tx, u16 dbr_address, + u16 hw_buffer_size, u16 packet_length) { dim2_configure_cdt(ch_addr, dbr_address, hw_buffer_size, packet_length); dim2_configure_cat(MLB_CAT, ch_addr, type, is_tx ? 1 : 0);