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


Groups > linux.kernel > #1517556

Re: [PATCH 1/2] iio: gyro: mpu3050: remove duplicate initializer

From Jonathan Cameron <jic23@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] iio: gyro: mpu3050: remove duplicate initializer
Date 2016-11-08 21:30 +0100
Message-ID <sBlbP-5QB-23@gated-at.bofh.it> (permalink)
References <sBfg5-1XK-13@gated-at.bofh.it> <sBgOR-2Jy-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08/11/16 15:39, Linus Walleij wrote:
> On Tue, Nov 8, 2016 at 2:59 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> 
>> The newly added mpu3050 driver has two initializations for the
>> module owner, which causes a warning for 'make W=1':
>>
>> include/linux/export.h:37:21: error: initialized field overwritten [-Werror=override-init]
>> drivers/iio/gyro/mpu3050-core.c:749:19: note: in expansion of macro 'THIS_MODULE'
>>
>> This removes one of the two.
>>
>> Fixes: 3904b28efb2c ("iio: gyro: Add driver for the MPU-3050 gyroscope")
>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> 
> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Applied to the togreg branch of iio.git. Initially pushed out as testing for the
autobuilders to play with it.

Thanks,

Jonathan
> 
> Yours,
> Linus Walleij
> 

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


Thread

[PATCH 1/2] iio: gyro: mpu3050: remove duplicate initializer Arnd Bergmann <arnd@arndb.de> - 2016-11-08 15:10 +0100
  Re: [PATCH 1/2] iio: gyro: mpu3050: remove duplicate initializer Linus Walleij <linus.walleij@linaro.org> - 2016-11-08 16:50 +0100
    Re: [PATCH 1/2] iio: gyro: mpu3050: remove duplicate initializer Jonathan Cameron <jic23@kernel.org> - 2016-11-08 21:30 +0100

csiph-web