Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4404749ybb; Tue, 14 Apr 2020 06:42:30 -0700 (PDT) X-Google-Smtp-Source: APiQypKjgX5cUTNirrfapkXXv5xzuYQymTU4q4Md6Pjbc09ezVgCk/Iun5XmfabTCzsSoLCHd10G X-Received: by 2002:a17:906:90cc:: with SMTP id v12mr122269ejw.211.1586871750607; Tue, 14 Apr 2020 06:42:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586871750; cv=none; d=google.com; s=arc-20160816; b=oUjc2sw0M3nUdCjnqcIiIFVbA0mvbFBfoVqFQeZPiHdAK+bZ2DhxnTkL7HeAeTL3jJ uXsuorzaeiMs2c3kLGUYeac8msMOjqB0I4QcSr8N1nEhnKq8kYbXKbLW8VATfUMYvuNT MpTWPO8C+YDaL/e7txb/YusoqWe6It2IGepDgd+lClmAvbDFfYQWn8lceOc84eKn68Rn IS+OXigP3iD8Qc8bekNsjsTPtvJ1peJAtsaQuPHZEvJrFy7bX8QLrx1vgdEVUyBxZBDA Pp4p5b2zDVOUhjg8lcnzXnwU6MgiBnWLuPvBoRhW3bZXhQhWNfRU7k/6recp/SZk78bg aJoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=DlHdQCi2H0syDxvBTC80XrvhxI1nKgFH20mTvIJx2R4=; b=wAMFXJgt24o+Nmqqi2pLBjFcZn5iyKRsh1AtbRQpHyPRobbmrvU1H3iqtPs6e5PTW9 ssolu6jDay1A3yzOP23bjIMRNUb/CtbBfXQp5pvCZI1JV+lI1Sc44HjO48NIrCWUIbt2 Lj1yLwuOU1MF+sLCghBMZKzY5tMwAI4ig5eTLMMr6IBXdkFiPlUIIcts2Y8yzQYbBLyl X4wXm/HEWwUcKdPG+7MIgyWQs2ohph9bKv88SAm+CwakYjIOoHxY+FrVGDXVx+QdQ+Rw DrIlmiCz56PkCS1jCH/jjNliP/sV4IWJ/5HpmRustdTxZyErgceAjqRDqzJacueV91hG /9jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=t8A7iMHy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e8si9408670edl.2.2020.04.14.06.42.06; Tue, 14 Apr 2020 06:42:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=t8A7iMHy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389718AbgDMWtP (ORCPT + 99 others); Mon, 13 Apr 2020 18:49:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2389719AbgDMWqC (ORCPT ); Mon, 13 Apr 2020 18:46:02 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CB1CC00860B for ; Mon, 13 Apr 2020 15:46:45 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id t16so114568plo.7 for ; Mon, 13 Apr 2020 15:46:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=DlHdQCi2H0syDxvBTC80XrvhxI1nKgFH20mTvIJx2R4=; b=t8A7iMHy98lu7aAj4Ut0S8YhVHvcvCxI9S3dKCLqAUsAhOMzP0oaKn2wmky8zOKVR8 6re8LkR/m7gtqbwzNdZvByfUtDnk5W0dWQzV/L4qfAvVcbEopb1J5OrWuQWsb4E3iJqv y/6wIYtiRzl0pN/wmo8jTv8Dk5gPRuOgXsfPhrxLf7R+qPZbJwmo1ZemsUjz25v84Y7f n6WVhLQMSf/sUFd7OmT10rmqZUGJNcdY+/fo1ju+DATjIJ3Ge6iBYMCq4ATWEgZCuevF ruiANqNHMHwZWM2zgdMkkNVHE6wJ9WySyvBUd62wIqd98h4bH0PBTo//KbojRRhEYQhJ Yvfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=DlHdQCi2H0syDxvBTC80XrvhxI1nKgFH20mTvIJx2R4=; b=XS+9GHgz25yRh03w7PaStTxoNkrLAhPXbtwNAsS/sPEhA2cKRzgfGTgQOz090WK9ty TYJ+a7ggrqCFomCjlq++vJ06BXRqUtDFQhZvaL0rhHPMakdrnBdHOEndNKSeBN9pjjOe CAQhnplVHgtp2LO/hH2YD9c1wJBYgspOlXo2XGpugX7OEP08Di1JgTAcbQpmLgobJGop X4+kwl8SI6EJsILoL/6cSqF3r6erjQSPwN27+h6Xhv9jPsjTaz7umb4ylEozpvLD7MJs z5pwOfxzGJuojNcgpBi4m9fBGEQ1S4jS4zyz7CBmu6W2Hrlki6QXQ+YViy1ep9vvxsV9 GvKw== X-Gm-Message-State: AGi0PuagrZhBv2sBgQhmAQlwVa04W4yepLIzAuE5zLe5Kasd1wQMLSiQ 6hRUNcfUGAwLvRdmnplA2lcJjw== X-Received: by 2002:a17:902:9b90:: with SMTP id y16mr18672617plp.227.1586818004731; Mon, 13 Apr 2020 15:46:44 -0700 (PDT) Received: from [192.168.1.188] ([66.219.217.145]) by smtp.gmail.com with ESMTPSA id y26sm4441549pfq.107.2020.04.13.15.46.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Apr 2020 15:46:43 -0700 (PDT) Subject: Re: [PATCH 00/23] Floppy driver cleanups To: Willy Tarreau , Denis Efremov Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" , Benjamin Herrenschmidt , Geert Uytterhoeven , Helge Deller , Ian Molton , Ivan Kokshaysky , Matt Turner , Richard Henderson , Russell King , Thomas Bogendoerfer , x86@kernel.org References: <20200331094054.24441-1-w@1wt.eu> From: Jens Axboe Message-ID: Date: Mon, 13 Apr 2020 16:46:41 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200331094054.24441-1-w@1wt.eu> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/31/20 3:40 AM, Willy Tarreau wrote: > This series applies a second batch of cleanups to the floppy driver and > its multiple arch-specific parts. Here the focus was on getting rid of > hard-coded registers and flags values to switch to their symbolic > definitions instead, and on making use of the global current_fdc variable > much more explicit throughout the code to reduce the risk of accidental > misuse as was the case with the most recently fixed bug. > > Note that this code base is very old and the purpose is not to rewrite > nor reorganize the driver at all, but instead to make certain things > more obvious while keeping changes reviewable. It does not even address > style issues that make checkpatch continue to complain a little bit (15 > total warnings which were already there and don't seem worth addressing > without more careful testing). Some comments were added to document a > few non-obvious assumptions though. > > This series was rediffed against today's master (458ef2a25e0c) which > contains the first series. The changes were tested on x86 with real > hardware, and was build-tested on ARM. I'll be happy to queue these up for 5.8 when ready. Would be handy if you could resend a v2 patchset with the extra patches, makes my life so much easier... -- Jens Axboe