From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752747AbdIVV50 (ORCPT ); Fri, 22 Sep 2017 17:57:26 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:46505 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752542AbdIVV5Y (ORCPT ); Fri, 22 Sep 2017 17:57:24 -0400 Date: Fri, 22 Sep 2017 14:57:22 -0700 From: Darren Hart To: Allen Pais Cc: linux-kernel@vger.kernel.org, souvik.k.chakravarty@intel.com, platform-driver-x86@vger.kernel.org Subject: Re: [PATCH v3] drivers:platform/x86:Use ARRAY_SIZE() for the size calculation of the array. Message-ID: <20170922215722.GA20327@fury> References: <1505300371-31740-1-git-send-email-allen.lkml@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1505300371-31740-1-git-send-email-allen.lkml@gmail.com> User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 13, 2017 at 04:29:31PM +0530, Allen Pais wrote: > Use ARRAY_SIZE() macro instead of TELEM_EVT_LEN(). > > v3: Replace TELEM_EVT_LEN() with ARRAY_SIZE(). > > Signed-off-by: Allen Pais Thanks Allen, queued for testing with minor changelog changes. > --- Note: in the future, the changelog (Since v1:, Since v2: goes here, below the --- line. Also, don't delete the previous changes. See: Documentation/process/submitting-patches.rst 14) The canonical patch format -- Darren Hart VMware Open Source Technology Center