Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4246199pxu; Mon, 30 Nov 2020 23:19:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJxYmdRWpnLwDVd04EADs8nqjvBXN7kExoCq7w0fBwvFfJb4vYchESarYZzupBV8B6uZv39j X-Received: by 2002:a17:906:ca98:: with SMTP id js24mr1758737ejb.252.1606807149884; Mon, 30 Nov 2020 23:19:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606807149; cv=none; d=google.com; s=arc-20160816; b=dtYqpuwP0dNTpEMAKFzHee2BvinledK34cGyscGKwwLmHl/S9sukSfpYo+54YqvSGf iNINNLkiI1hlUo6xXcHT53quoIUdto31hb1AyAQEgnoCsk9MpYmwXABGgP7Cysv2mjo2 zqyT5VTKzhgLj6NtAfyIo4AhMwTb9NQxssZqdMpdBoSpH+za5pu/3/yRg1gsSVvTX26U mdyp2CSDymCL6kYz531PMKjjj7JU31hg7NABM7fr4Z8AyF1vwM4vclfZzc93Jyo9ixI3 J3H7KVaQLBm1BAbU8x6ZfGvBkT9olDU8Tekj7TXoDLEeT4pJA0fdJALQA7YAYcQCuohN ODLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=j9ll6iRV/I8KyPiOm524mGU27EsQLs+Mz5PTBeyjZVE=; b=qgYbgULZnlPkJx3+xZArHGb8+qhfh2c4vniiu+t9hyd5Bx/5vUvyyj+7amhbgcLXPJ AsJ/PpAltLMAJfMLSqPdjw6J0KAoDIee9B+iTzW3BYAWKZzAl6PtYIXQQYPKoIVmYYgR QJtBEoRsKPQ1xhubOS0h7Xk2oHZ0/lXR7Dt9ne3v13iV66oyuq18+m9ksawCea0wH/0F hM+g7f3roBtJtiu8WBIe0GGKZwjmj1jtV+iN6mt7QIhN/J+ydvUTwfkQcSgbEsczuiMv hYZCvyX3mvUsutg5zeNIpdtV+3awJujiIQY8p+jk37lrmlD1p1pbRXEK0pYYdtWeAsKe v/Gw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f9si585829edw.224.2020.11.30.23.18.47; Mon, 30 Nov 2020 23:19:09 -0800 (PST) Received-SPF: pass (google.com: 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; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727791AbgLAHQs (ORCPT + 99 others); Tue, 1 Dec 2020 02:16:48 -0500 Received: from mail-ej1-f67.google.com ([209.85.218.67]:43556 "EHLO mail-ej1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727684AbgLAHQs (ORCPT ); Tue, 1 Dec 2020 02:16:48 -0500 Received: by mail-ej1-f67.google.com with SMTP id jx16so1942547ejb.10; Mon, 30 Nov 2020 23:16:31 -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:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=j9ll6iRV/I8KyPiOm524mGU27EsQLs+Mz5PTBeyjZVE=; b=VSqdTF5gVa/PNEw02m5Ozemx/LEiPuXPWU+npaEJ/31bP4zd83UcjKAy7ZeS3xPpo3 yN8qHspnjB76kfK79762zEtmGjXZAZXfdSOzI7fOzc13kRg9TLRKG7YNjjeQj3EFZ26o jWr2VuSbCCR4PXl90JrQwUcSY70wiedc1oFjlqETfacuO+AuBL/A/5NjNLGHYiXigYi1 CcgsiEcmyUZhifUAXhbd/vIGI2txHpALmFAwHugQFNufkq+/ja1eDEq98ifjLECE/xtc o7QOAfOZoPRrKN9htN+PPyLLb2dxqAM55nu69WNeFos79H2ipG177sL7B/xx/o2jrExM CApA== X-Gm-Message-State: AOAM530NrT9nP6Tg2Y7OsyMO2TVqCf5JrfWDF7MMh4DptCFlDojTRcTV ZvY141/fZVC3aSl1S6o5GXMCcvCOpY8= X-Received: by 2002:a17:906:ad4:: with SMTP id z20mr1710672ejf.546.1606806965691; Mon, 30 Nov 2020 23:16:05 -0800 (PST) Received: from [192.168.1.49] (185-219-167-24-static.vivo.cz. [185.219.167.24]) by smtp.gmail.com with ESMTPSA id b14sm331616edm.68.2020.11.30.23.16.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Nov 2020 23:16:04 -0800 (PST) Subject: Re: [PATCH 1/5] tty: add port flag to suppress ready signalling on open To: Mychaela Falconia Cc: Johan Hovold , Greg Kroah-Hartman , "Mychaela N . Falconia" , linux-serial@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org References: <20201130153742.9163-1-johan@kernel.org> <20201130153742.9163-2-johan@kernel.org> From: Jiri Slaby Message-ID: Date: Tue, 1 Dec 2020 08:16:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01. 12. 20, 8:09, Mychaela Falconia wrote: > On 11/30/20, Jiri Slaby wrote: >> port can be const here. >> [...] >> We have assign_bit() for these cases these days. > > Johan's patch adding test and set accessor inline functions for the > new flag follows the style of the existing accessor inline functions > for previously existing flags, for the sake of consistency. If we are > going to use the new style (const for test functions, assign_bit() for > set functions) for the new flag, then we should also change all > existing ones for consistency. In terms of patch splitting, would it > be most kosher to have one patch that updates the style of existing > accessor inline functions, and then the interesting patch that adds > the new flag? Yes. Or the other way around. Add this new using const+assign_bit and convert the rest on the top of the series. thanks, -- js