From patchwork Mon Mar 6 17:27:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ondrej Zary X-Patchwork-Id: 6185 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1981074wrd; Mon, 6 Mar 2023 09:46:51 -0800 (PST) X-Google-Smtp-Source: AK7set/wNmepJiT/fFCCUfCcPco2TkPjUQHxwGfkPA54uDgpALBV+tyqenGmxNBngi+3h9Jfbl/p X-Received: by 2002:a05:6402:5145:b0:4ae:eab6:9fac with SMTP id n5-20020a056402514500b004aeeab69facmr11280960edd.32.1678124811373; Mon, 06 Mar 2023 09:46:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678124811; cv=none; d=google.com; s=arc-20160816; b=ziS9A/T+fDn1xZpEyXIoja0fsTbV1ILfqPBsdimgg/rbJqrlXpEyR3pdJOntnbz2qH LeIFLWtZWrIWBRAojF92iZKqNA9TDA7G8219XDiDo4iGScVQgcVTC3YwC0Gljcnjqy6V KKIJWtz2I3cqRzgk7X0RXEiRgSiQ6sZsvMLTllEv9P9lBUpGnEzMLL4z5D3Pd2/Ev5rK UH0dfKJcARIz1S7f7i1WkPssqmQzEH3hTlHpaq2XPBLOfwYeYXHVRJ/YuQnbn/uHd08N JjtdRJuVm0gtE1RdLsJFvNxR+jC66L8gbP3Dv2tPQBOjFxN4eUzC+ZR1qm8vYcZdQL86 YlYA== 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=XicrYbFK3VDdfGX+KnE/FjrXNhHEkIatO4OcZA4sndBS9khX9Wd/19PXJTlwZTTwE/ 44uOmtoJYfk9aaByMlNAamxu+MbheJV2gbITjUKzbeKxMQ/iI+qexWE0xZ4qT8wotbb6 l7Ffd7x735RMh3rjdWdtviWP3gAsIqhY2HxxQvtlUzdumjBbhQelwdJ3ebMgcNGoDnx6 gVGkBIm+yPdGeSFcFvPSZ3QV03RgGTJfFc8p8E2gSS9Sx712bX/maqAC3Sug+ij60Qsa mHPt2fwx/XFJGqGKqaSzczKQzFVFz9Z1d2Vo57Nn9zFbzfaO4AqiHqvPGAhu50B2A2w3 vlqw== 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 ba9-20020a0564021ac900b004aa9a77fea3si10372450edb.626.2023.03.06.09.46.24; Mon, 06 Mar 2023 09:46:51 -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 S230407AbjCFRaY (ORCPT + 99 others); Mon, 6 Mar 2023 12:30:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230457AbjCFRaF (ORCPT ); Mon, 6 Mar 2023 12:30:05 -0500 Received: from hosting.gsystem.sk (hosting.gsystem.sk [212.5.213.30]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 70C52637D3; Mon, 6 Mar 2023 09:29:27 -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 166227A0381; Mon, 6 Mar 2023 18:28:28 +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 RESEND v4 0/18] pata_parport: protocol drivers fixes and cleanups Date: Mon, 6 Mar 2023 18:27:34 +0100 Message-Id: <20230306172752.7727-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?1759641402112768655?= X-GMAIL-MSGID: =?utf-8?q?1759641402112768655?= 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(-)