Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3829880ybv; Tue, 25 Feb 2020 08:04:03 -0800 (PST) X-Google-Smtp-Source: APXvYqyuQTJwzWRs884hcXhRQmXbxxY0RHfkgKlRhj3kON6ZoEQcoFWopRBqa53VHh0mJJzsOrPk X-Received: by 2002:a54:440e:: with SMTP id k14mr4024247oiw.160.1582646643483; Tue, 25 Feb 2020 08:04:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582646643; cv=none; d=google.com; s=arc-20160816; b=s5eqX0oOZ6swzB4E2qzTY1YSqRxjaBpV6a0T76WAF8N32O7Pd7GM/nQODvYWPW1Y6k FLuW+QDl068LfhyzcH9O7c3XJhTponAYs1B0d/YJmnMQ+QXkI0VU0RyA1o2QXqmC34t4 M2z6Y7q4XuSyTrnzdjNlIcfPivk8FMo6qE/Ddwp71iXugJblHC8ClvhB9ik5gaeaPkpV 26JhNrayGP4oAH0Bx0vXDPT1MvDgPWzNTmm1ZQoStH3CF5ACwRAvxjgN12ZMtyZ0JBRn JvfIAh+MDV7uAVXzD8WhQfmc2+2R3DcVNHe3G/m4EpnFfKViVGOOtGcDJI3lF9UYPxxp VnWA== 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:autocrypt:references:reply-to:cc:to:from:subject; bh=UydO7AEhxXmWMXVvC3vVfDa/G7mimTMlc7pcI/QW8UE=; b=zpNNkAejFNp1obcw25oGuEpSRFqXxy/+Uj6YFPedYcn8ElMdgL93AsLxL0YHoOlsMr GT8LgmKOVQjze5HcZ8sr8sSHR9ZbEhW8Idp+J4kbxmEk4wkEMuCbRK1oPfwZZi2NKDzX PcU/Gk9G/WfcmOd9CUTCVHCQZbt9ZaEgeci7bcARy6taNzvMXFr0S0M83PkwFqxzCwn+ PgraA65ujFOMb1ABGwH5+K+BJau84KxBvlAzpd2puMLViUkJg0QL6GtCPFlYWxgVlRZj EkQKQqcs60iqMZFHG6ynmhJunyDD/BmFjXEDL0iQGH1K8aVxQhtJB/bPHXRqirTX0WKl SrgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n203si6462316oia.112.2020.02.25.08.03.16; Tue, 25 Feb 2020 08:04:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730208AbgBYPjK (ORCPT + 99 others); Tue, 25 Feb 2020 10:39:10 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:44332 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725788AbgBYPjJ (ORCPT ); Tue, 25 Feb 2020 10:39:09 -0500 Received: by mail-wr1-f65.google.com with SMTP id m16so15224184wrx.11; Tue, 25 Feb 2020 07:39:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:reply-to:references:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=UydO7AEhxXmWMXVvC3vVfDa/G7mimTMlc7pcI/QW8UE=; b=uQEDo8FZRWIkQp0CxBMRVYO+OwFDqvAIshGZ1DBPQpPxxFHmL6zDc9HTv4v5Yib2Sn ZvutI1eeapNmIIX4y8HA4/aLckFiGqdaSsihlxOMXkmE7MwdEDixRB+SnXNDJr0jJsQU LwB+8KEuIwb+iktqm/ALmjGvgdETaFFh/ymLEIlKR1jez+ksTliUz5ogfGpysNIt+KS4 6r4sJV11Wu0ivLiy2lqd2ui1XcCx5ep2aAydNG4PgcPp/eV+fQfKl2G9yoJvLOalM29L e2v4mmSswc4R+1txeIhQ36/z1jO2OcPRlgKfSYrr5NKNTtfiii7YoAIrblN1M/B2L7Bn DKeA== X-Gm-Message-State: APjAAAXTZLj7KqHtG0RIoEG3pglWyCnRY1otajxQXb9Gw2XQc7Y+R43d G9WCa/HXMks3nKbsU3eZDk4h4IXY X-Received: by 2002:a5d:4807:: with SMTP id l7mr7754925wrq.250.1582645147719; Tue, 25 Feb 2020 07:39:07 -0800 (PST) Received: from [10.10.2.174] (winnie.ispras.ru. [83.149.199.91]) by smtp.gmail.com with ESMTPSA id f8sm23180403wru.12.2020.02.25.07.39.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 25 Feb 2020 07:39:06 -0800 (PST) Subject: Re: [PATCH 01/10] floppy: cleanup: expand macro FDCS From: Denis Efremov To: Willy Tarreau Cc: Jens Axboe , Linux Kernel Mailing List , linux-block , Linus Torvalds Reply-To: efremov@linux.com, efremov@linux.com References: <20200224212352.8640-1-w@1wt.eu> <20200224212352.8640-2-w@1wt.eu> <28e72058-021d-6de0-477e-6038a10d96da@linux.com> <20200225034529.GA8908@1wt.eu> <20200225140207.GA31782@1wt.eu> <10bc7df1-7a80-a05a-3434-ed0d668d0c6c@linux.com> Autocrypt: addr=efremov@linux.com; keydata= mQINBFsJUXwBEADDnzbOGE/X5ZdHqpK/kNmR7AY39b/rR+2Wm/VbQHV+jpGk8ZL07iOWnVe1 ZInSp3Ze+scB4ZK+y48z0YDvKUU3L85Nb31UASB2bgWIV+8tmW4kV8a2PosqIc4wp4/Qa2A/ Ip6q+bWurxOOjyJkfzt51p6Th4FTUsuoxINKRMjHrs/0y5oEc7Wt/1qk2ljmnSocg3fMxo8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Ajb0Rg+a 3fy1LiquAn003DyC92qphcGkCLN75YcaGlp33M/HrjrK1cttr7biJelb5FncRSUZqbbm0Ymj U4AKyfNrYaPz7vHJuijRNUZR2mntwiKotgLV95yL0dPyZxvOPPnbjF0cCtHfdKhXIt7Syzjb M8k2fmSF0FM+89/hP11aRrs6+qMHSd/s3N3j0hR2Uxsski8q6x+LxU1aHS0FFkSl0m8SiazA Gd1zy4pXC2HhCHstF24Nu5iVLPRwlxFS/+o3nB1ZWTwu8I6s2ZF5TAgBfEONV5MIYH3fOb5+ r/HYPye7puSmQ2LCXy7X5IIsnAoxSrcFYq9nGfHNcXhm5x6WjYC0Kz8l4lfwWo8PIpZ8x57v gTH1PI5R4WdRQijLxLCW/AaiuoEYuOLAoW481XtZb0GRRe+Tm9z/fCbkEveyPiDK7oZahBM7 QdWEEV8mqJoOZ3xxqMlJrxKM9SDF+auB4zWGz5jGzCDAx/0qMUrVn2+v8i4oEKW6IUdV7axW Nk9a+EF5JSTbfv0JBYeSHK3WRklSYLdsMRhaCKhSbwo8Xgn/m6a92fKd3NnObvRe76iIEMSw 60iagNE6AFFzuF/GvoIHb2oDUIX4z+/D0TBWH9ADNptmuE+LZnlPUAAEzRgUFtlN5LtJP8ph Message-ID: <9c22a4ce-1108-d1aa-49c3-5fe7c3bb74f1@linux.com> Date: Tue, 25 Feb 2020 18:39:05 +0300 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: <10bc7df1-7a80-a05a-3434-ed0d668d0c6c@linux.com> 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 2/25/20 6:22 PM, Denis Efremov wrote: > As for now, I can see that only floppy.c includes fdreg.h file > with define FDPATCHES. If it's true then #define FD_IOPORT 0x3f0 > branch is never used and we can try to fix remaining FD_* macro > in the next round. Ah, I forgot that fdregs.h is uapi. Thus, we can't simplify FDPATCHES. Denis