Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp819701rdg; Fri, 13 Oct 2023 01:58:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHRTkFkv/fkOzSQ0GN2/FBfxL+ETWwheB78KQmEOYJB1BA/1IZkUck88XLlMi9G7PDwj96D X-Received: by 2002:a05:6a20:7286:b0:15e:7323:5c0f with SMTP id o6-20020a056a20728600b0015e73235c0fmr32413623pzk.16.1697187499162; Fri, 13 Oct 2023 01:58:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697187498; cv=none; d=google.com; s=arc-20160816; b=BOVMyIhH3c4Cu8Qh4PqycBDxLyKBaDi95k0+HiEEFWP1cA2iTXp2uNQX8eubzR/gRu wvd7i8YUcIZikrh3TV5r0HZKblKliS3p2OmqUoj062rlYPnLm4d8lc4SZbAqgX27cjFm wdFcnJmfGtxncOCphsbUleYU9aZWTi815tpHfkbFQXcE5OjRtZnvB3XExOw1QskT7p0B oK3opVnp5sjgmEBzqfgwRr7AkU2hSm5DmxTBBMzFVNoNbfVzSgBogDy1R0AFrF4VlFtj kBtdw6gSWp+ObKs65uBIec7DzgXRPr6+ADuSOHq+h49mEUeOTE1hhbO23Nxqc0lRCZKd sLtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BAC5kzitTDQn20v79RDexnUptsmfPFexGphHJBvI8cw=; fh=xQgX6KkMp8WkTMp0qBQXrWaiz52Wjge9OsxTEQ4M2sM=; b=jOFWK2ttoRVJpUI6g9THMEuqzNB4I3+XhALX/kzHYyxUOTJ6OyB9SprfanfHExaxLA 5yWQJlggp42N98Scs8YevIkMMlz8q0hEmRvSNrMphd3PruGcCKCXj+lRosU2OT+w3kPy sPNtdE8y07q+TTAm6KVAs2bX0t3Avn2ZioAANjiHuAwkq49jGNJjC06SpzWBDEq8N6Ks I7e/FtptujNuyVrFjqeKLuAJA1M+YgKFwuMm4wqAq8htbs/Nzh5UnKKA8DLMOcxWz3MF WssHjvbpOm1CHMb8ehL3eU9z3QuZxWvfsGY0/ZF/1Y+oBVdi8kG9H5Y+RGyNA4ujNZ1Q uyxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S8pAfi5V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id 9-20020a170902c14900b001bdca6456c3si3916016plj.46.2023.10.13.01.58.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 01:58:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S8pAfi5V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 938FA81F39CF; Fri, 13 Oct 2023 01:58:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230291AbjJMI5x (ORCPT + 99 others); Fri, 13 Oct 2023 04:57:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230292AbjJMI5v (ORCPT ); Fri, 13 Oct 2023 04:57:51 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF355BF for ; Fri, 13 Oct 2023 01:57:45 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4066241289bso19555995e9.0 for ; Fri, 13 Oct 2023 01:57:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697187464; x=1697792264; darn=vger.kernel.org; h=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=BAC5kzitTDQn20v79RDexnUptsmfPFexGphHJBvI8cw=; b=S8pAfi5VlcIvjmTMY+aKsVcwgVLJCYszVHxCYAsEAhT2bEpJFejtBXxDahMYemy6Xa YddQ78nG1+DinVIjPPwZ7Jtbm7do/2LJDIAsmyrufZS7O/vrk5er84wy5y1Z1iFJspr7 nTg55bD1caOVFi01QFGXqLPIDj2aTNxnjk5WUX/b5KYoHuJ9xHSl2gh+tT6+LvsnMRh9 43J3p5MdpBtigPp/Yea8RoFQ5Te6C5w8ZJLlJXE+aHOTpAlL1tXpqhWnYcxgEOqvvaWo BO4+ex8QxJ6UrOz+zUQmyF42BJfrmytmmDxqhHfGa9AWuX0nT3Osso7zyP8hyqi9+x73 1+Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697187464; x=1697792264; h=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=BAC5kzitTDQn20v79RDexnUptsmfPFexGphHJBvI8cw=; b=Tr1raSM3AVY9chYVa/PU7+kc5MHiJByung1ekYG+fQipYsdN8wZR4OEPdH0GwC/AQ2 kDm6qEKkVUs8Eidf5Lklp2F0Sma2Mhq1j+8QCwUzPkvjKvdrEnbG7K23JYPEnYxPzk8+ 1V07llcEYc2Xt9ceFbTJu/F08KZndBLbr4lIH235z+MxgY3SN34BszonMOOCej63Or9l O9zs/OxmgNNyPqWi10LfE8jx4ya4vq+IWXsOjRFr1M5UbZGRAbs+Duo9kG6ieVp2Namk OcxhZlVdGxrUdfLjwuhnILYx90B+YIcgGq1QQVrFZvqoFgxHW493L5NmsaP0d+NXYLeE XDHw== X-Gm-Message-State: AOJu0Yy2tMfE+ZzFNJJjtbNsYK4Gea3Q/WQWgYJL9hKAzjgcZVhGWkCH aI3z+RrWUNUrTK89HH1wx6gcTw== X-Received: by 2002:a05:600c:3786:b0:405:359a:c965 with SMTP id o6-20020a05600c378600b00405359ac965mr24219595wmr.4.1697187464002; Fri, 13 Oct 2023 01:57:44 -0700 (PDT) Received: from localhost ([102.36.222.112]) by smtp.gmail.com with ESMTPSA id u8-20020a05600c00c800b004068495910csm1975273wmm.23.2023.10.13.01.57.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 01:57:43 -0700 (PDT) Date: Fri, 13 Oct 2023 11:57:40 +0300 From: Dan Carpenter To: Soumya Negi 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 1/2] tty: gdm724x: Match alignment with open parenthesis Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 pete.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 (pete.vger.email [0.0.0.0]); Fri, 13 Oct 2023 01:58:16 -0700 (PDT) On Fri, Oct 13, 2023 at 01:26:34AM -0700, Soumya Negi wrote: > Fix CHECK: Alignment should match open parenthesis > Issue found by checkpatch.pl > > Signed-off-by: Soumya Negi > --- > drivers/staging/gdm724x/gdm_tty.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/gdm724x/gdm_tty.c b/drivers/staging/gdm724x/gdm_tty.c > index 32b2e817ff04..4e5cac76db58 100644 > --- a/drivers/staging/gdm724x/gdm_tty.c > +++ b/drivers/staging/gdm724x/gdm_tty.c > @@ -271,8 +271,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); I prefered the original code. It was more readable. regards, dan carpenter