Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030872AbaLLQlT (ORCPT ); Fri, 12 Dec 2014 11:41:19 -0500 Received: from mail-wi0-f179.google.com ([209.85.212.179]:39437 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030303AbaLLQlR (ORCPT ); Fri, 12 Dec 2014 11:41:17 -0500 MIME-Version: 1.0 In-Reply-To: <20141212162852.GA40238@snb.sh.intel.com> References: <201412130004.58sFmPKu%fengguang.wu@intel.com> <20141212162852.GA40238@snb.sh.intel.com> Date: Fri, 12 Dec 2014 18:41:15 +0200 X-Google-Sender-Auth: DiJMT0gLWYATuqF2EYVneS3jmYM Message-ID: Subject: Re: [PATCH iio] iio: imu: kmx61: kmx61_set_wake_up_odr() can be static From: Daniel Baluta To: kbuild test robot Cc: Daniel Baluta , kbuild-all@01.org, Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald , "linux-iio@vger.kernel.org" , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 12, 2014 at 6:28 PM, kbuild test robot wrote: > drivers/iio/imu/kmx61.c:422:5: sparse: symbol 'kmx61_set_wake_up_odr' was not declared. Should it be static? > > Signed-off-by: Fengguang Wu Reviewed-by: Daniel Baluta > --- > kmx61.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/imu/kmx61.c b/drivers/iio/imu/kmx61.c > index bda9c40..9b32f01 100644 > --- a/drivers/iio/imu/kmx61.c > +++ b/drivers/iio/imu/kmx61.c > @@ -419,7 +419,7 @@ static int kmx61_get_mode(struct kmx61_data *data, u8 *mode, u8 device) > return 0; > } > > -int kmx61_set_wake_up_odr(struct kmx61_data *data, int val, int val2) > +static int kmx61_set_wake_up_odr(struct kmx61_data *data, int val, int val2) > { > int ret, odr_bits; > > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/