From patchwork Fri Jul 14 03:39:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hanyu001@208suo.com X-Patchwork-Id: 13312901 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E87F5EB64DA for ; Fri, 14 Jul 2023 03:40:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234867AbjGNDkI (ORCPT ); Thu, 13 Jul 2023 23:40:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234872AbjGNDkE (ORCPT ); Thu, 13 Jul 2023 23:40:04 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B48830CD for ; Thu, 13 Jul 2023 20:39:59 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R2HKn37DKzBRSVN for ; Fri, 14 Jul 2023 11:39:57 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :references:in-reply-to:subject:to:from:date:mime-version; s= dkim; t=1689305997; x=1691897998; bh=AWHTAkZRkjR1ieZ+VfDcALBX0gH 03nLgnO5QP0evr1o=; b=wZgyKLkYA3Sgz7+jQOBoNarATB82iFT3I3KC96eSqVq 34SZT4c0k05+jRVHBSmh4flTgnLmIHM+RVde8L+oee2erdWHIlUug6oeI4DujN7a qvMdppR9rj3lL/j4HcSVpAkDCtv+m47taxY5YM//aHUofAEqKsyoy0oiy+CFob4h xLBXKjN8JVlThQwY4TWrrQxc2HkIhn3y0snZvq7M+hbJH5eQGKWqceI3zL2uSvQo iAlaoX0uQU+hdTgbqW2ViL+LF6Gm9PjG7JDJZTCiPxyeVZkfOEizdUDkuLrZO/5I 3zkeH655e4raUQQi8fp6lZzId61fgL4EBU3bEFJVQCQ== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id KEOLIApu_OoE for ; Fri, 14 Jul 2023 11:39:57 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R2HKm6ql1zBHXhN; Fri, 14 Jul 2023 11:39:56 +0800 (CST) MIME-Version: 1.0 Date: Fri, 14 Jul 2023 11:39:56 +0800 From: hanyu001@208suo.com To: bp@alien8.de, tony.luck@intel.com, james.morse@arm.com, mchehab@kernel.org, rric@kernel.org Cc: linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] drivers: edac: add missing spaces after ',' In-Reply-To: References: User-Agent: Roundcube Webmail Message-ID: <12fb0185376456c91666476e9949c54f@208suo.com> X-Sender: hanyu001@208suo.com Precedence: bulk List-ID: X-Mailing-List: linux-edac@vger.kernel.org Fixes checkpatch.pl error: drivers/edac/edac_device_sysfs.c:480: ERROR: space required after that ',' (ctx:VxV) drivers/edac/edac_device_sysfs.c:480: ERROR: space required after that ',' (ctx:VxV) drivers/edac/edac_device_sysfs.c:480: ERROR: space required after that ',' (ctx:VxV) Signed-off-by: maqimei <2433033762@qq.com> --- drivers/edac/edac_device_sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) .attr = {.name = __stringify(_name), .mode = _mode }, \ .show = _show, \ diff --git a/drivers/edac/edac_device_sysfs.c b/drivers/edac/edac_device_sysfs.c index 010c26b..95e4249 100644 --- a/drivers/edac/edac_device_sysfs.c +++ b/drivers/edac/edac_device_sysfs.c @@ -477,7 +477,7 @@ static ssize_t edac_dev_block_store(struct kobject *kobj, .store = edac_dev_block_store }; -#define BLOCK_ATTR(_name,_mode,_show,_store) \ +#define BLOCK_ATTR(_name, _mode, _show, _store) \ static struct edac_dev_sysfs_block_attribute attr_block_##_name = { \