Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751478AbdFFWUp (ORCPT ); Tue, 6 Jun 2017 18:20:45 -0400 Received: from mail-vk0-f42.google.com ([209.85.213.42]:33938 "EHLO mail-vk0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751399AbdFFWUo (ORCPT ); Tue, 6 Jun 2017 18:20:44 -0400 MIME-Version: 1.0 In-Reply-To: <20170606173116.13977-1-bp@alien8.de> References: <20170606173116.13977-1-bp@alien8.de> From: Andy Lutomirski Date: Tue, 6 Jun 2017 15:20:22 -0700 Message-ID: Subject: Re: [PATCH] x86/ldt: Rename ldr_struct.size to .n_entries To: Borislav Petkov Cc: X86 ML , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 395 Lines: 11 On Tue, Jun 6, 2017 at 10:31 AM, Borislav Petkov wrote: > From: Borislav Petkov > > ... because this is exactly what it is: the number of entries in the > LDT. Calling it "size" is simply confusing and it is actually begging > to be called "n_entries" or somesuch, especially if you see constructs > like: In the subject: ldt_struct, perhaps? Otherwise looks good.