From patchwork Tue Feb 14 22:59:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ondrej Zary X-Patchwork-Id: 5427 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3245008wrn; Tue, 14 Feb 2023 15:01:18 -0800 (PST) X-Google-Smtp-Source: AK7set/gVwBkyI9va/Xj0w6HwAwjRU4yNE3hS44ZUMY7rPDZOFlLgZ1MmaZQuY3OC8PPCBGNBJkB X-Received: by 2002:a50:bb02:0:b0:4aa:c685:2937 with SMTP id y2-20020a50bb02000000b004aac6852937mr5058357ede.13.1676415678603; Tue, 14 Feb 2023 15:01:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676415678; cv=none; d=google.com; s=arc-20160816; b=qbJNMKMW5tjLTTkQFRfUgeREtexR3dUXaq8OAjDDjgWb36fa+bouAHxDgP2Ud61v+j MookrGa+CqdfBA39wRg+hrdt8QODc9QBv7rnhZsvgeTlckrnl0KUHRGnWO+FICUCYCYw KC8RM3jetlLtm/+jlc+vDAwI3ejo9Q7H2MaKdncu+P4hHw6aIfLmIinyH1IHPXCccehf KOtkOLwiv8RZhWmlR5EYgp/adRyi9VVhN968vRhT2tElcFM/Rl/gRvfinyzMei5GTtXd klzgf0CRrJ69ZookLO5MhliGked263OtcZ3GHf0eXEMSrHmewHjlD/4yvOWluUBjnVvZ p71A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=U6xMtV+8mbBqzvn0IVcckbK9RJi27UnOeouMBbzCxIw=; b=QOiGqpTx2PxJLI8ev3oYQdl6Cjm0Vm6MdCaq/dpqVbEZ44KauEMR4M1Z5eHrx7IZhS 3SMwygpML6tDx8FcQYm/RgwE/+EfYQ9sq9IaIfIW3o6nwEGwN7WkhXfOxbxm071d0Bwm 2RF/3lIpHsLxZ9cEYCZ0YuM6Kredr68x+2nz4wlLpuritLZNd7tURhoZec9B96z0WvNb 7fpeN2AkZ7f6SEkeIAsYBcWzLlIzi8ez4Es8JVDUuip0vfiE0HfAcjcDFQ1/keEr9EDm mE+rbM33AJCCHSkzaop2pJK/egxLk3ALQ6zfpmTTGNS6pZI/rHBFsTj2iSSsokWAMVGt ItqA== ARC-Authentication-Results: i=1; mx.google.com; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u15-20020aa7d88f000000b004acce692a6esi6690557edq.538.2023.02.14.15.00.54; Tue, 14 Feb 2023 15:01:18 -0800 (PST) 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; 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 S232504AbjBNXAc (ORCPT + 99 others); Tue, 14 Feb 2023 18:00:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231689AbjBNXAY (ORCPT ); Tue, 14 Feb 2023 18:00:24 -0500 Received: from hosting.gsystem.sk (hosting.gsystem.sk [212.5.213.30]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C236A29400; Tue, 14 Feb 2023 15:00:21 -0800 (PST) Received: from gsql.ggedos.sk (off-20.infotel.telecom.sk [212.5.213.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by hosting.gsystem.sk (Postfix) with ESMTPSA id B567D7A0308; Wed, 15 Feb 2023 00:00:18 +0100 (CET) From: Ondrej Zary To: Damien Le Moal Cc: Christoph Hellwig , Sergey Shtylyov , Jens Axboe , Tim Waugh , linux-block@vger.kernel.org, linux-parport@lists.infradead.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/18] pata_parport: protocol drivers fixes and cleanups Date: Tue, 14 Feb 2023 23:59:52 +0100 Message-Id: <20230214230010.20318-1-linux@zary.sk> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757849246710237883?= X-GMAIL-MSGID: =?utf-8?q?1757849246710237883?= This patch series fixes two bugs and cleans up pata_parport protocol drivers, making the code simpler with no changes in behavior (except logged messages). Signed-off-by: Ondrej Zary --- Changes in v2: - added two bugfixes (first two patches) - addressed Sergey's comments (mostly split patches) drivers/ata/pata_parport/aten.c | 45 ++++---------- drivers/ata/pata_parport/bpck.c | 86 ++++++++------------------ drivers/ata/pata_parport/bpck6.c | 107 ++++++++------------------------- drivers/ata/pata_parport/comm.c | 52 +++++----------- drivers/ata/pata_parport/dstr.c | 45 ++++---------- drivers/ata/pata_parport/epat.c | 48 ++++++--------- drivers/ata/pata_parport/epia.c | 55 +++++------------ drivers/ata/pata_parport/fit2.c | 37 ++++-------- drivers/ata/pata_parport/fit3.c | 39 ++++-------- drivers/ata/pata_parport/friq.c | 56 ++++++----------- drivers/ata/pata_parport/frpw.c | 71 ++++++---------------- drivers/ata/pata_parport/kbic.c | 66 +++++++++----------- drivers/ata/pata_parport/ktti.c | 38 ++++-------- drivers/ata/pata_parport/on20.c | 45 ++++---------- drivers/ata/pata_parport/on26.c | 52 ++++------------ drivers/ata/pata_parport/pata_parport.c | 31 +++++----- {include/linux => drivers/ata/pata_parport}/pata_parport.h | 41 ++++--------- 17 files changed, 271 insertions(+), 643 deletions(-)