From patchwork Sat Feb 18 22:01:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ondrej Zary X-Patchwork-Id: 5603 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp569651wrn; Sat, 18 Feb 2023 14:04:24 -0800 (PST) X-Google-Smtp-Source: AK7set8y7QkYzuaOnIhgz1wf5Rf1qouFkLE2viHkScpvOsG4G3x0o+LqaNBhMmcrRzWg5XfaHyNi X-Received: by 2002:a17:902:e885:b0:199:15bb:8316 with SMTP id w5-20020a170902e88500b0019915bb8316mr440338plg.68.1676757863852; Sat, 18 Feb 2023 14:04:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676757863; cv=none; d=google.com; s=arc-20160816; b=0oDYu0Ykw0nExQuWW4S6Nu1zXlpznAckyYHvL2+fd3PLcVGODqO5zebvF0A17njto3 SpRFVrNyn2ls6qj82wrp5LfXn2xV6g89EVAcu+0ZpxJ5HkPKh0O77JGIluxJ1Q/Xrt+5 TJHl6fiTnumLjtC6frZKp7DHAx6w19GNJPQZOq1P/WNLNdxgAJ5VgCuDdqnn9Cs/gi6B w92QLY7hRUmBocYcrgGhL/LMTC2UMpyb4BvPeeTPiiIw+n6rd/nloNCzUN1z6/iTDAPz e4wyZXdkrcwVCDU1sXoIhPpcJoQqFoSyJe3eB7xbAyVMzeRveKcdfK5orqySfxCnB+dt hMyw== 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=v8sLUf21Z5dvvfDpArO8B46LgTWIhlB7F8ZxySHZrNI=; b=h9BplLFJDWLCgCZ61v/UlU8Pwe4mxAGcCxNCxRLtiz6WzCcT30RsfwGt5KIz7OalC1 /rZ7gRMs6fI+niI9i4/BfMrdNURPe02dqnQR8qvpu0ohHZw6EFdMH0+kdS3hciJ4x4vJ nADCXTo7KBzt6a1Y22NxZUSJIWJVDqBRU/hT0J+KjjREYy/r9888eAxSbHMG8r9Oa/se fViHfkZVm2KPNcNP60TZ7rES//VC/lxH1xfNcAFMdGkXwWBhLs/n+poE3D0Vo62Szg2X FDLpx7/fDvw5oB/6YLuFKwRNEmATpA0YqLzSAaAK6+relYJdauT3jfyTXqMo0QX4Ni9X fVfw== 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 w9-20020a170902e88900b0019b0c65027asi4779620plg.511.2023.02.18.14.04.11; Sat, 18 Feb 2023 14:04:23 -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 S230169AbjBRWCT (ORCPT + 99 others); Sat, 18 Feb 2023 17:02:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229632AbjBRWCI (ORCPT ); Sat, 18 Feb 2023 17:02:08 -0500 Received: from hosting.gsystem.sk (hosting.gsystem.sk [212.5.213.30]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 65F7912854; Sat, 18 Feb 2023 14:02: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 1CB167A021C; Sat, 18 Feb 2023 23:02:02 +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 v4 0/18] pata_parport: protocol drivers fixes and cleanups Date: Sat, 18 Feb 2023 23:01:20 +0100 Message-Id: <20230218220138.5692-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?1758208053791618851?= X-GMAIL-MSGID: =?utf-8?q?1758208053791618851?= 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 v4: - dropped whitespace changes from patch 12/18 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(-)