[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3b71b1b4-fe58-6e55-2b1e-172dc391e9db@kernel.org>
Date: Mon, 27 Sep 2021 08:40:58 -0500
From: Dinh Nguyen <dinguyen@...nel.org>
To: Mike Rapoport <rppt@...ux.ibm.com>,
Randy Dunlap <rdunlap@...radead.org>
Cc: linux-kernel@...r.kernel.org, kernel test robot <lkp@...el.com>,
Andreas Oetken <andreas.oetken@...mens.com>,
Mike Rapoport <rppt@...ux.vnet.ibm.com>
Subject: Re: [PATCH] NIOS2: setup.c: drop unused variable 'dram_start'
On 9/26/21 12:29 AM, Mike Rapoport wrote:
> On Fri, Sep 24, 2021 at 02:05:25PM -0700, Randy Dunlap wrote:
>> This is a nuisance when CONFIG_WERROR is set, so drop the variable
>> declaration since the code that used it was removed.
>>
>> ../arch/nios2/kernel/setup.c: In function 'setup_arch':
>> ../arch/nios2/kernel/setup.c:152:13: warning: unused variable 'dram_start' [-Wunused-variable]
>> 152 | int dram_start;
>>
>> Fixes: 7f7bc20bc41a ("nios2: Don't use _end for calculating min_low_pfn")
>> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
>> Reported-by: kernel test robot <lkp@...el.com>
>> Cc: Dinh Nguyen <dinguyen@...nel.org>
>> Cc: Andreas Oetken <andreas.oetken@...mens.com>
>> Cc: Mike Rapoport <rppt@...ux.vnet.ibm.com>
>
> Reviewed-by: Mike Rapoport <rppt@...ux.ibm.com>
>
Applied!
Thanks,
Dinh
Powered by blists - more mailing lists