Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1737886

Re: [PATCH v3] drivers:platform/x86:Use ARRAY_SIZE() for the size calculation of the array.

From Darren Hart <dvhart@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3] drivers:platform/x86:Use ARRAY_SIZE() for the size calculation of the array.
Date 2017-09-23 00:00 +0200
Message-ID <usE9k-2Uu-15@gated-at.bofh.it> (permalink)
References <updyF-6jl-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <allen.lkml@gmail.com>

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v3] drivers:platform/x86:Use ARRAY_SIZE() for the size calculation of the array. Allen Pais <allen.lkml@gmail.com> - 2017-09-13 13:00 +0200
  Re: [PATCH v3] drivers:platform/x86:Use ARRAY_SIZE() for the size  calculation of the array. Darren Hart <dvhart@infradead.org> - 2017-09-23 00:00 +0200

csiph-web