From patchwork Wed Feb 15 19:45:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ondrej Zary X-Patchwork-Id: 5472 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp383966wrn; Wed, 15 Feb 2023 11:47:23 -0800 (PST) X-Google-Smtp-Source: AK7set+H/TfqF8ZdLng3ldJhebfakdWzOm4+6t1no3e+LtFOSczilMsdyxw3gxoPe0JfJ1lT1qgE X-Received: by 2002:a05:6a20:3d96:b0:bc:3523:13c6 with SMTP id s22-20020a056a203d9600b000bc352313c6mr3632858pzi.29.1676490442827; Wed, 15 Feb 2023 11:47:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676490442; cv=none; d=google.com; s=arc-20160816; b=ntVj3r43o48mssLI8vNALGxBDGEB+Eg367IZEFUCisFAV2/52lvNYkGzk8BKXt3jH7 FJ0jkNMLe7AApCHlNwJrJ+ZjSJsOBPP5f7zmEIjoxGYJ8VrWDayQrq2e2m1Dz/UgSf5C bT1gdIlKSyJezlZNGhyeKbQu8NKd7aEClb60ot1E2BwLh+jlsuGzdq7TLVjQ9nsW3hjR OSpAYAKubohbrpy8Up9lMn/ZVyP+MNSEjGRfTPbX3UeeADM/SZFZi2BncFKEhaTAy+hF Aj3dSdyCyBrQBDccmKgpvd1BZ55SWNRP5PWHHxDHI5yqelLvd/92rjjiKb+OHGy5mcIQ 9L/w== 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=0jZ1soD7c8eI82jNy7sd/OzjxzqibZCT8asBtWc+0CY=; b=YuE1SN0h3dVmEF+tBtl72dE7XWcTT5C2wADUr/UmopRY3KuKiuxJuTTphyfebnnWe1 k5i58unbjYLg0covpb6wpEp0WOmcfSOWlip/ReHTmNtgJr1Ovu62mx7EMFxpFwp6IWTk ArMMaPaCx6s1I9YNVzrprr0xE1PtYYLIJTwQkwBUC4d7KYhyS94cIP2jYgXDWyGJck9Y mLXxc+VmdHqbNWk/Tj1fiYOdvofilzpI8JWNGx3rCJLSBQUAd9O3Mh4way1IyqJ4U7aF vmc8PnTHObMHXneWlGEU+7PW+fwxCRxEAwEV2a5onVx6XUImrG+JAZgeUhb197zuzdth BQvQ== 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 w63-20020a638242000000b004fbbbc81456si9177456pgd.293.2023.02.15.11.47.10; Wed, 15 Feb 2023 11:47:22 -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 S229612AbjBOTqM (ORCPT + 99 others); Wed, 15 Feb 2023 14:46:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229550AbjBOTqK (ORCPT ); Wed, 15 Feb 2023 14:46:10 -0500 Received: from hosting.gsystem.sk (hosting.gsystem.sk [212.5.213.30]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7933B3C7A7; Wed, 15 Feb 2023 11:46:04 -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 9F2167A0347; Wed, 15 Feb 2023 20:46:03 +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 v3 0/18] pata_parport: protocol drivers fixes and cleanups Date: Wed, 15 Feb 2023 20:45:36 +0100 Message-Id: <20230215194554.25632-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?1757927642834669824?= X-GMAIL-MSGID: =?utf-8?q?1757927642834669824?= 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 v3: - added missing reviewed-by tags - added more detailed changelog: - patches 04-05 are split from v1 patch 02/12 - patch 06: comment-out instead of if(1) - patches 11-14 are split from v1 patch 08/12 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(-)