From: Tim Deegan Subject: Re: [RFC PATCH 1/15]: PVH xen: turn gdb_frames/gdt_ents into union Date: Fri, 25 Jan 2013 09:38:18 +0000 Message-ID: <20130125093818.GB31562@ocelot.phlegethon.org> References: <20130111172522.6e73d884@mantra.us.oracle.com> <20130124142932.GC20551@ocelot.phlegethon.org> <20130124180421.5d767935@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20130124180421.5d767935@mantra.us.oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Mukesh Rathor Cc: "Xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org At 18:04 -0800 on 24 Jan (1359050661), Mukesh Rathor wrote: > Initially, I had it called gdt, but during code review of linux > patch (exact same change there), it was suggested to change it. Huh. Fair enough, I guess. > Also, I really dont' like field names likes "addr" or "sz". I really > don't wanna grep or cscope for them. I'm fairly strongly in the other camp -- I almost never find myself grepping for leaf-node names, but having unions called 'u' and repeating type or scope information in names both annoy the crap out of me. :) Anyway, it seems like Jan agrees with you on the naming, so I'll let it slide. Can I suggest you call the new fields gdt_addr and gdt_sz, to match the underscores in the existing fields? Tim.