Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp746076rdg; Thu, 12 Oct 2023 22:35:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE17AkkE8+da8zCgk+rjBiyRBKHEdGBkED36vhSeFw3WDB2QE9QRiovRQRCs0CdXN40f/u/ X-Received: by 2002:a05:690c:a08:b0:5a7:a959:337 with SMTP id cg8-20020a05690c0a0800b005a7a9590337mr11311933ywb.27.1697175320480; Thu, 12 Oct 2023 22:35:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697175320; cv=none; d=google.com; s=arc-20160816; b=JpbsU888rSp6m8upxBX6hVCGykkncrC9S/j0jwUiqa6hApg+vtUrSxtSO7H2Ifpq76 inVdWN3ncY4UDtKBtmQPgA1ejhI6kTEBPvqTavvoWqOIXJ+OObqnz9vyYc/77zBZ3dvu jUirA9TeB8dvIZjyJwqWPhYftesln0oUVPNzx417RFMSLccxPoq2H3bIFwgkqxFp8Lie S7xRT/ZA5On+dDCPUdhzjyvS974q1Y2eFD0WGScuztFk33sJEGL64DxpRcfv2g9Hovic zLDRNreRzsKim+DfK3JD9/TSPbWmUqkJq4Jx9iKic+Xqa4LLvXMh1vAqDhrbK8/u69dp +PBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=PJVW+9qlD6LlVYZG3xkLmkd4SS3hgrGhJE+KlBem0rs=; fh=SubwRdS8Fu7ni4WSL4YmxwHUrfHeyyw/R9k1sV3yrwA=; b=G0jXZ2RQTtjLmibB2Bfa+0NFceEUOTb8Jktwq4xVt9bFJf3kSi9KFKvmoagpogszN3 qBC4otENclOYmSayP4UpNWpqF0saBiPHGzv9Gaxfdhwn6dsU7ui6N5fnZsKK/fs7mYH9 DNoxY6lNnRVtiHOD480vBeHtNi+mWqjrmw0q/qjxw/t7fGuPEIhoE2BwLnwSiwLGkpJR 6imAwpadDTO5DqLnydGywzHKXwJdlIurXXynmcdHG+QlTu6PbIG2xiFftQgsuwKVwv4Q PwwHbCKHnB/RPTU/bC99bdowP7Q1U4FdD2qwxqkvz7ygfsJDh8+qyw2OfCY0ilQuuwfo 3L5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PSYTZTt6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id h35-20020a635323000000b00578bb5917d7si455163pgb.153.2023.10.12.22.35.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 22:35:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PSYTZTt6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 327CC826BBB5; Thu, 12 Oct 2023 22:35:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229437AbjJMFfK (ORCPT + 99 others); Fri, 13 Oct 2023 01:35:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229640AbjJMFfJ (ORCPT ); Fri, 13 Oct 2023 01:35:09 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5550CBC for ; Thu, 12 Oct 2023 22:35:08 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1c5bf7871dcso14063135ad.1 for ; Thu, 12 Oct 2023 22:35:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697175307; x=1697780107; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=PJVW+9qlD6LlVYZG3xkLmkd4SS3hgrGhJE+KlBem0rs=; b=PSYTZTt6FnN0cC46tazUzoELFhOFpmmocEnczCXLyPV/ZN4HvDMYvRY4653CKpbja6 TCMoy3c+FjJVKDWvOHJhat5ogA/afRnESyRISpKSqIDZ0NlzYxoCbOxi24IvJWPs+Iji oGK9mLDCyKs3TvS1Cc1VsImH4uYcs/IlxP5PpjcZMs3ySJ+t25s2x7pSW5rM9C0qumZU fU5ZZ5asYuv9YaFjz0lB8DO05jeM00yh7uWIDsKhMKzI1TLqQnaebGOLKI7WqUhIR7B3 +0le3sw7+TFLV4hnQJMr5DUugudVjhEaEKr5vkl/Bqt56DVMl0gtsWh0hVErlNd1req5 DtZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697175307; x=1697780107; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PJVW+9qlD6LlVYZG3xkLmkd4SS3hgrGhJE+KlBem0rs=; b=pBtefiynSF8XE7U/5pj4HiKRUNrNfzsqqaZmRRjDWOQC154sXbz+vaeCME/v3feTdh vrKkSF29ayNsY9cXArtR/k0d3hqhlEnOudRyUyWRZRZE2dP9MHnVgy1JVOnJquV4DgTg K9B6oejhFUOHEHWMa8aGgCyAMKbx6N1IheLk0VEpdgqQ7Dr85WHIFAxbIXW+5nnRoU+p O0QjEzpux+lio0ECAzSU8jvx9YoEHrCwcYq7trDAcn0u9phKHqjCtb/+nu3L9Kebp7Qi TB1lvvvAIc/Vtx+tgrMHVck0AXHbpHA5dUOKnlIlOaOUA3Aa5UPzZgTg4XJuHaSSuhMd qjNA== X-Gm-Message-State: AOJu0Yw35BKY8ydQFzPzFcM8l7RoDCX6VBhX9eI1OBpOWymV7MtCZCPO sAuCeYFKETYbIZ4wkpqa6qTctroVNNxlIQ== X-Received: by 2002:a17:902:e54a:b0:1c6:2d13:5b74 with SMTP id n10-20020a170902e54a00b001c62d135b74mr27473901plf.55.1697175307345; Thu, 12 Oct 2023 22:35:07 -0700 (PDT) Received: from Negi ([68.181.16.134]) by smtp.gmail.com with ESMTPSA id f19-20020a170902e99300b001c0a414695dsm2937504plb.62.2023.10.12.22.35.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 22:35:06 -0700 (PDT) Date: Thu, 12 Oct 2023 22:35:06 -0700 From: Soumya Negi To: Julia Lawall Cc: Jonathan Kim , Dean ahn , Greg Kroah-Hartman , outreachy@lists.linux.dev, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tty: gdm724x: Fix coding style checkpatch warnings Message-ID: <20231013053506.GA9482@Negi> References: <20231013051502.9578-1-soumya.negi97@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 12 Oct 2023 22:35:18 -0700 (PDT) On Fri, Oct 13, 2023 at 07:20:08AM +0200, Julia Lawall wrote: > > > On Thu, 12 Oct 2023, Soumya Negi wrote: > > > Add blank line after declaration & match alignment with open parenthesis. > > Issue found by checkpatch.pl > > This seems like two completely unrelated issues. > > julia Hi Julia, I got it. Will send two separate patches for each type of code cleanup. - Soumya > > > > Signed-off-by: Soumya Negi > > --- > > drivers/staging/gdm724x/gdm_tty.c | 5 +++-- > > 1 file changed, 3 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/staging/gdm724x/gdm_tty.c b/drivers/staging/gdm724x/gdm_tty.c > > index 32b2e817ff04..0c61eaff6122 100644 > > --- a/drivers/staging/gdm724x/gdm_tty.c > > +++ b/drivers/staging/gdm724x/gdm_tty.c > > @@ -160,6 +160,7 @@ static ssize_t gdm_tty_write(struct tty_struct *tty, const u8 *buf, size_t len) > > > > while (remain) { > > size_t sending_len = min_t(size_t, MUX_TX_MAX_SIZE, remain); > > + > > gdm->tty_dev->send_func(gdm->tty_dev->priv_dev, > > (void *)(buf + sent_len), > > sending_len, > > @@ -271,8 +272,8 @@ int register_lte_tty_driver(void) > > int ret; > > > > for (i = 0; i < TTY_MAX_COUNT; i++) { > > - tty_driver = tty_alloc_driver(GDM_TTY_MINOR, > > - TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV); > > + tty_driver = tty_alloc_driver(GDM_TTY_MINOR, TTY_DRIVER_REAL_RAW | > > + TTY_DRIVER_DYNAMIC_DEV); > > if (IS_ERR(tty_driver)) > > return PTR_ERR(tty_driver); > > > > -- > > 2.42.0 > > > > > >