Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp663982rdb; Fri, 22 Dec 2023 00:53:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGbGm5iVZbQJ5WqcmcDXcI6W/c+3BzBBCOGuwLaej4cnFN3Fc2pS/AD1er179mWvdWJthC6 X-Received: by 2002:a17:90b:3d6:b0:28c:17cd:10d1 with SMTP id go22-20020a17090b03d600b0028c17cd10d1mr144569pjb.42.1703235195167; Fri, 22 Dec 2023 00:53:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703235195; cv=none; d=google.com; s=arc-20160816; b=yMTwwuJdKGkTD0BWic+yERSKMUIs2lDT6UygWKmwVrrSC3YwlLPo5Njm4rFg8OjZyd xgH85onHDO8Xu5a6GLFDapNnxhQpvV4AJAIe7bX1Hyzb2ZeEGLOzTzO/nowFw0+8UR4h 0w+iaajSGX99ZHfCV7Rjd8JtHOgLTZZxA5lBhQAKKScV+LVHj/IXD+WhM4rc3iFxLS0U KVHlc7Q7TGE4NEog0/kSjK9TjuL9Xb5WMPLqNfclbzOeTqykmcxteIVIxGgxL6O07NL3 G/CxUXRox/I9TUtkhAIYnI0uRAZDRVmGaiOiV2MuNsgCYXJa3cUg+OfLNm+a5Kan3Bci ZfjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:dkim-signature:dkim-signature:date; bh=QZXloMgiRAVOPGoz8o3+D3AfE1mP2CVP2wrPR3Txq90=; fh=hQaCQyZABAuGQENLVVvAABS+EWnx4GPtOYJA3BB7VWY=; b=UV3dKnQU7K2zdf7xV2QtpI8Ekxtzv7Jls9YCHXMS61maXypwd5Dpj84bXoItnWIq8i 6IRL028W1XByLZvRdT1U+wdH4AB8mSKxn1R03+V88zdnNdi7fXCbiOnYhziDbg1YQcPg tGmhFTvdAHchgRWlScw/4Q60pV4T3nP1qA31wzOI4Wz1xlvOifCSgx1qB7NOa7h7j/Gj BaUNUYWGfduJ2JmZc7ZNH+G3TRsifZPYB1tU+yfj7gYzHI+QLSRUub0tSRVx2UXFwXFc Z5xjWzm2QUZT6VUD2czZ5Ji2NAJ0amn3NkOhOsugI0DLIKZE9T5IxByOD8EH3VbOCron fXSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=DeOknbP3; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=07bJfujK; spf=pass (google.com: domain of linux-kernel+bounces-9520-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9520-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id z3-20020a17090ad78300b0028be99648dcsi3029442pju.92.2023.12.22.00.53.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 00:53:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9520-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=DeOknbP3; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=07bJfujK; spf=pass (google.com: domain of linux-kernel+bounces-9520-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9520-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 72D72B22039 for ; Fri, 22 Dec 2023 08:53:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6EF7AD295; Fri, 22 Dec 2023 08:53:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="DeOknbP3"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="07bJfujK" X-Original-To: linux-kernel@vger.kernel.org Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6CD4DC8EE for ; Fri, 22 Dec 2023 08:53:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Fri, 22 Dec 2023 09:52:59 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1703235180; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QZXloMgiRAVOPGoz8o3+D3AfE1mP2CVP2wrPR3Txq90=; b=DeOknbP32wPly1lxHHUwpkQwFo5JYFNCAfabmS89lHve80HRgvb9qfYzCLAIM5Holl42Gg +E6QU+hZ8/iuUhosE5DlNXDDDwBOzoSqsUH6d8JWk/BKyh9TSrgF0IJb7xqM0fg8JpxcV5 PMtljzUAXChM/dRfxrhqQ+8BeHjkrbJ29lQujWQ+YLUCfh1moCzFfRuJXcVpmlXALMryhU kq6xG7QO54lt0bENADixnD8FCtza9BO3nWPC1RuEXtL6r96jB+6XUr+iYNrTlptEy7avNe nxE0YYi7kdGHfbYmAwaBrBlm90TfCsn3VhPBleMy9VvdqiwQb017vEnn2hBvLQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1703235180; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QZXloMgiRAVOPGoz8o3+D3AfE1mP2CVP2wrPR3Txq90=; b=07bJfujKq7VXX9O0XCx8hI2QOL8Zd4st/APr85k24IXoH+Hgyad2TfVLpdwuuo8W/P1pUB KyPd3fC+DIVu8fCg== From: Nam Cao To: Ryan England Cc: Larry Finger , Florian Schilhabel , Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Subject: Re: [PATCH v2] staging: rtl8712: fix open parentheses alignment Message-ID: <20231222095259.75f145cf@namcao> In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 21 Dec 2023 20:22:48 +0000 Ryan England wrote: > Adhere to Linux kernel coding style. > > Reported by checkpatch: > > CHECK: Alignment should match open parenthesis > > Signed-off-by: Ryan England > --- > Made corrections give the 100 line limit. Resending v2 as no change was > made other than including this comment below ---. Thank you for the > correction. Here's to learning with every submission. > > drivers/staging/rtl8712/os_intfs.c | 3 +- > drivers/staging/rtl8712/rtl8712_efuse.c | 9 +- > drivers/staging/rtl8712/rtl8712_recv.c | 3 +- > drivers/staging/rtl8712/rtl8712_xmit.c | 60 +++--- > drivers/staging/rtl8712/rtl871x_cmd.c | 159 +++++--------- > drivers/staging/rtl8712/rtl871x_cmd.h | 37 ++-- > drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 203 +++++++----------- > 7 files changed, 173 insertions(+), 301 deletions(-) > > diff --git a/drivers/staging/rtl8712/os_intfs.c b/drivers/staging/rtl8712/os_intfs.c > index b18e6d9c832b..7554613fe7e1 100644 > --- a/drivers/staging/rtl8712/os_intfs.c > +++ b/drivers/staging/rtl8712/os_intfs.c > @@ -221,8 +221,7 @@ struct net_device *r8712_init_netdev(void) > > static u32 start_drv_threads(struct _adapter *padapter) > { > - padapter->cmd_thread = kthread_run(r8712_cmd_thread, padapter, "%s", > - padapter->pnetdev->name); > + padapter->cmd_thread = kthread_run(r8712_cmd_thread, padapter, "%s", padapter->pnetdev->name); Your description claims to fix "CHECK: Alignment should match open parenthesis", but this one is already aligned, isn't it? Note that, because you CAN you 100 characters, does not mean you MUST use 100 characters. Best regards, Nam