Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751815AbdIMKwS (ORCPT ); Wed, 13 Sep 2017 06:52:18 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:36581 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751148AbdIMKwO (ORCPT ); Wed, 13 Sep 2017 06:52:14 -0400 X-Google-Smtp-Source: AOwi7QBgNGY8plnHKcRw8p5EZkSo+UC2SWqWAiVPUBVg0nRMlKUMIYEXixWdv5tBEjJC/CUZfXV5ybbcLw+Oru07/uM= MIME-Version: 1.0 In-Reply-To: <5F7315E704FA0841B5DFCE90329B2BB4661DAD1D@BGSMSX102.gar.corp.intel.com> References: <1505292855-27476-1-git-send-email-allen.lkml@gmail.com> <874ls6kjbw.fsf@miraculix.mork.no> <5F7315E704FA0841B5DFCE90329B2BB4661DAD1D@BGSMSX102.gar.corp.intel.com> From: Allen Date: Wed, 13 Sep 2017 16:22:12 +0530 Message-ID: Subject: Re: [PATCH v2] drivers:platform/x86:Use ARRAY_SIZE() for the size calculation of the array. To: "Chakravarty, Souvik K" Cc: =?UTF-8?Q?Bj=C3=B8rn_Mork?= , "linux-kernel@vger.kernel.org" , "platform-driver-x86@vger.kernel.org" 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: 246 Lines: 9 >> >> What's the point? Why not simply replace all instances of TELEM_EVT_LEN >> with ARRAY_SIZE? > I was about to say this too, although I should have probably said this in the first spin itself. > I'll have it done and send out v3. - Allen