Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6576159rwp; Tue, 18 Jul 2023 02:35:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlEXZuKZZIZKgJxIS3+zcReNluyfSl7OEJ/eFExvz2zI122Y5vl/4EKagLEDQiIqpwCFLdH7 X-Received: by 2002:a05:6402:2747:b0:51e:2c4b:6f1e with SMTP id z7-20020a056402274700b0051e2c4b6f1emr15169332edd.14.1689672900705; Tue, 18 Jul 2023 02:35:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689672900; cv=none; d=google.com; s=arc-20160816; b=kon5LRgw1sR4y3LvKW9wJG4e3f3gIFEmPJaNKO213S0cZk9ePgU1Hm2zUWBEtzQYGB /SHY01aYQf1PMcaJMPy1Eg24jq5IvYGG72F5QFh7Q0iyOYlbEpGF/xrWlpbetT63e9wB O6u0ZE9rLrEMI1uOeM2GO4S8xtR5aIllfdsvlLKebemf2xObLlWLh3L8P8HDx7iVQ1zo Q/nn4KNTAwd87zCrpJJDJ0Y0awh23/KlpwgtQS7j+fg91ENGzcmX3BXWMorQRgcjWJij a5BM8LLx4XYz/SMgexce0uHSKAElImiYmXVPOSlD5bb1BEyUsM+/eN2Cfv+IOM9Bt5NB G7HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=6bZmgPmo38J70FN98mmpdH+ZAI7ubh3p2WhQWOVUREg=; fh=rSBt3ztBJDDJkXPA0BVttQKDAV2/8MiMHzHCArIGRdw=; b=BfwevbpK1du33719rP4ln+L4XmmgGyCupwYOY8gj+5yj37pNx6SJ57z6eHL19b/7u6 eRBS3qOlvON55/IGUrBQZbUIiukTzYDYW95RkUSymhjbB5rnDSWlFP9o+2q6GUpZnLca aQQlb2G75sngPb8G/33iqAQfEywMU9L4/A5KfZCLI8Lb8+tEt5qBPAgms2aplXXd5JKz gWq8lI/c+AlHfSYaHtOJMI+WIvWi/ykayhp5Grb3zowCVYCXrN1IFM9PDtoXeqG7k+6L 2pr1NICBWGxgR7kWfIOpycpeAhTevIbdNxTc588GFh0ZOBFZH08+68xDJcyZ02xEumqI +O8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=vkDAPT1d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d17-20020a05640208d100b0051de088f170si927452edz.127.2023.07.18.02.34.36; Tue, 18 Jul 2023 02:35:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=vkDAPT1d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230218AbjGRJNC (ORCPT + 99 others); Tue, 18 Jul 2023 05:13:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230508AbjGRJMy (ORCPT ); Tue, 18 Jul 2023 05:12:54 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8D76D2 for ; Tue, 18 Jul 2023 02:12:52 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R4tX20RK5zBR0gv for ; Tue, 18 Jul 2023 17:12:50 +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=1689671569; x=1692263570; bh=wY7exn7O8/75pPLXp4GPcV17LqA 3JdtXsrjYJFcOJv4=; b=vkDAPT1dW2JHYhf7B198dzviIOkyyRRK9i6wVZv+n8l bwV8dVQdRGJUPFCpDqrFKmxztgHEnw/f7QSDdDiBctAPXKDvAdQAq7HzeeRHB+Ss ZE+Vs3Y4S46tQMDcSXpJNHgfuLnVBsBJPCsaqIHzwuutFUy2dxCOw6no/GNeS4lv BxHxQdxcvDiMTCnbAMFD/aJxgEokMwpqKkrKHEX+Wsvq3FgbX9nEA2pNOQqGY7MX a42C0Tk7M5QwXixkDxXQwyiivPzpnx+LRrV3eioYzpfkjfTM+6dl+8krZlttZWpE sL3aXMOTF4CG+QW6vsS8Tl6CLZDWhRmHDu4UJNJ78sQ== 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 PA7QV3Cqkgwm for ; Tue, 18 Jul 2023 17:12:49 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R4tX161GzzBJBfd; Tue, 18 Jul 2023 17:12:49 +0800 (CST) MIME-Version: 1.0 Date: Tue, 18 Jul 2023 17:12:49 +0800 From: hanyu001@208suo.com To: dlemoal@kernel.org Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] drivers: ata: Added missing spaces In-Reply-To: References: User-Agent: Roundcube Webmail Message-ID: X-Sender: hanyu001@208suo.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_BLOCKED,RDNS_NONE,SPF_HELO_FAIL,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Added spaces needed in the proper places to address: ./drivers/ata/pata_triflex.c:88: ERROR: space required after that ';' (ctx:VxV) ./drivers/ata/pata_triflex.c:90: ERROR: space required after that ';' (ctx:VxV) ./drivers/ata/pata_triflex.c:92: ERROR: space required after that ';' (ctx:VxV) ./drivers/ata/pata_triflex.c:96: ERROR: space required after that ';' (ctx:VxV) ./drivers/ata/pata_triflex.c:98: ERROR: space required after that ';' (ctx:VxV) ./drivers/ata/pata_triflex.c:100: ERROR: space required after that ';' (ctx:VxV) ./drivers/ata/pata_triflex.c:102: ERROR: space required after that ';' (ctx:VxV) ./drivers/ata/pata_triflex.c:104: ERROR: space required after that ';' (ctx:VxV) ./drivers/ata/pata_triflex.c:106: ERROR: space required after that ';' (ctx:VxV) Signed-off-by: Yu Han --- drivers/ata/pata_triflex.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/ata/pata_triflex.c b/drivers/ata/pata_triflex.c index 26d448a..e75bf93 100644 --- a/drivers/ata/pata_triflex.c +++ b/drivers/ata/pata_triflex.c @@ -85,25 +85,25 @@ static void triflex_load_timing(struct ata_port *ap, struct ata_device *adev, in switch(speed) { case XFER_MW_DMA_2: - timing = 0x0103;break; + timing = 0x0103; break; case XFER_MW_DMA_1: - timing = 0x0203;break; + timing = 0x0203; break; case XFER_MW_DMA_0: - timing = 0x0808;break; + timing = 0x0808; break; case XFER_SW_DMA_2: case XFER_SW_DMA_1: case XFER_SW_DMA_0: - timing = 0x0F0F;break; + timing = 0x0F0F; break; case XFER_PIO_4: - timing = 0x0202;break; + timing = 0x0202; break; case XFER_PIO_3: - timing = 0x0204;break; + timing = 0x0204; break; case XFER_PIO_2: - timing = 0x0404;break; + timing = 0x0404; break; case XFER_PIO_1: - timing = 0x0508;break; + timing = 0x0508; break; case XFER_PIO_0: - timing = 0x0808;break; + timing = 0x0808; break; default: BUG(); }