From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOuZG-0007DZ-SI for qemu-devel@nongnu.org; Mon, 19 Nov 2018 20:11:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOuZG-0000hG-6o for qemu-devel@nongnu.org; Mon, 19 Nov 2018 20:11:06 -0500 References: <20181119120820.29878-1-maozhongyi@cmss.chinamobile.com> <20181119120820.29878-22-maozhongyi@cmss.chinamobile.com> <20181119132527.0e7c26c9.cohuck@redhat.com> From: maozy Message-ID: Date: Tue, 20 Nov 2018 09:10:46 +0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [qemu-s390x] [PATCH 21/22] event-facility: ChangeSysBusDeviceClass *sbdc to SysBusDeviceClass *sbc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth , Cornelia Huck Cc: david@redhat.com, qemu-devel@nongnu.org, borntraeger@de.ibm.com, qemu-s390x@nongnu.org, Zhang Shengju , rth@twiddle.net On 11/19/18 10:10 PM, Thomas Huth wrote: > On 2018-11-19 13:25, Cornelia Huck wrote: >> On Mon, 19 Nov 2018 20:08:19 +0800 >> Mao Zhongyi wrote: >> >>> Most of the SysBusDeviceClass variables are named sbc, >>> and sbdc here is a bit weird, so changing sbdc to keep >>> it consistent with others might look good. >> >> A quick git grep also gives sbd and k as variable names, and it is used >> in a total of two lines which have not been touched since 2013, so... >> meh. If others like the change, I'm not opposed to merging, though. > > I think I agree with Cornelia, just changing the variable name because > it's named differently in a couple of other places is just unnecessary > code churn, which makes "git blame" output harder to read later. I'd > suggest to drop this patch, too. > Ok, I got it. :) Thanks, Mao > Thomas >