Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1580107rdd; Thu, 11 Jan 2024 03:38:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IEvwPEc2f+LV7ppi+wAtgU5fVFy5s+sian+QyJ/W3CnUlrB0zUhR1UbjPhDr0Eu3w8FK9C2 X-Received: by 2002:ac8:5c4e:0:b0:429:b1c8:e6bc with SMTP id j14-20020ac85c4e000000b00429b1c8e6bcmr691029qtj.21.1704973092236; Thu, 11 Jan 2024 03:38:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704973092; cv=none; d=google.com; s=arc-20160816; b=SBss8Qju+jXB7ZtbvMnC7rlnYpL91toA/KsG30sNdS4ZyRL44LXYnE7yTD/cCUGg1P w8yl2qSnQczCmORujAuUD2rllfQob9ffQddoKP0NTMdQLBR3FOCOKZrVizIZxV/tY8zQ K9h8fO17bZVlUsBCe7gYd6C/YS4xP6J1n+08RmCR0l9DU64KyuUpxy13SWt5sGfO8KUg eO3Udc2xLNStfo3ENRUoMN2aeUF9wn7Bjw1Ft4M2vc/TmtNuXuL7wXtamYQiJe3Ed269 qtyzZCR9D9EY69GOqKWU4W3yb0VKkDEc9ut7fAWTLRDB5TZ3zsgrcDDObDbcIf8Avwuf bJXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=7rCDC6dqi9OHhtLuLqiDCp8todeWeA25RJxdDyVb5I4=; fh=G38dGyfJrUshwBPfHlHYmuzfjttWJlxutn29drMjFIs=; b=CxyvOHu0zRcZWaL9zoEbSxht+FJ3rYb0+B6fn761m280PtxWCftJo2XEO0Zqo+DmNP h8Nzr8sHLozXaMlR3u3uoxxOgHNfMDzNCemKSVTSUpLP6VyeMknCyA3BlYKQm7AmugTV b71jAWsTowRsKcWQhYtJxWP9KcZWGXBMp536bUmeFtMRGKxQjCgVeUVLE2FQnS9TZwS+ QKOpHroADmIMmhpz5Bi0e0Cm1/akgx3/x0wspPw3LYwuUCYLAaZxwMG31o7/FtQYFWeQ EpuCAmnhAOWql91CcVXt7DXyJxDePfE7azD4BCN6a9pnFNwZNHKcYjEfdCXXLb+MahsV z1YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hJKlqkF2; spf=pass (google.com: domain of linux-kernel+bounces-23502-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23502-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id w13-20020a05622a190d00b0042826d13e34si757144qtc.590.2024.01.11.03.38.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 03:38:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23502-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hJKlqkF2; spf=pass (google.com: domain of linux-kernel+bounces-23502-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23502-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C5A521C22148 for ; Thu, 11 Jan 2024 11:38:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 06AD21549C; Thu, 11 Jan 2024 11:38:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hJKlqkF2" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3D3F215482 for ; Thu, 11 Jan 2024 11:38:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E7FAC433C7; Thu, 11 Jan 2024 11:38:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704973083; bh=+k8TWVbkF/+QNIM0Rm/51/WpkmMdTzXk0cSBs2TISkM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hJKlqkF2BDQ+RRbWt5YYQSXVDcmgE2ItEeZ0Uszoj8PliO1jukjgupdbtS6GlY4sD bywybUifPG/0UAlAh5jjmJiUacdW7eWnPU4H0HG/0wrR0f0Uy67UrzsT8I7/9nL7YW tFujCV6R5+fpqSB2zmLuMFkzr7tSKdFQ7Q0TjrJj7yWI/7kL8c1U94KDNVvc2JK3L4 aBlEornG3f/Mda1xzcyHNxpw8EfkaJb0ZWuHxRB4G4+po3MyDgqDRwPkB9WRsqk7mG ly4mW2hgGQqgML0zxXXa+lWNRtG5vZxPx9VRnWOU4UM8dgQM/M1iCU8zU0o41XK7pQ 7lcjYExpuA4cw== Date: Thu, 11 Jan 2024 11:38:00 +0000 From: Lee Jones To: chenxuebing Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] mfd: twl: Clean up errors in twl.h Message-ID: <20240111113800.GI1678981@google.com> References: <20240111014555.5117-1-chenxb_99091@126.com> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240111014555.5117-1-chenxb_99091@126.com> The subject needs to be improved. Succinctly explain what you're doing. On Thu, 11 Jan 2024, chenxuebing wrote: > Fix the following errors reported by checkpatch: > > ERROR: space prohibited after that open parenthesis '(' > ERROR: open brace '{' following function definitions go on the next line > > Signed-off-by: chenxuebing Is this your first or last name, or both? > --- > include/linux/mfd/mcp.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/mfd/mcp.h b/include/linux/mfd/mcp.h > index fd5cafc77e8a..ed56c67bbbc7 100644 > --- a/include/linux/mfd/mcp.h > +++ b/include/linux/mfd/mcp.h > @@ -53,7 +53,7 @@ int mcp_driver_register(struct mcp_driver *); > void mcp_driver_unregister(struct mcp_driver *); > > #define mcp_get_drvdata(mcp) dev_get_drvdata(&(mcp)->attached_device) > -#define mcp_set_drvdata(mcp,d) dev_set_drvdata(&(mcp)->attached_device, d) > +#define mcp_set_drvdata(mcp, d) dev_set_drvdata(&(mcp)->attached_device, d) The code is fine, obviously. > static inline void *mcp_priv(struct mcp *mcp) > { > -- > 2.17.1 > -- Lee Jones [李琼斯]