From patchwork Thu Jun 28 15:37:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10494341 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C985F6022E for ; Thu, 28 Jun 2018 15:37:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B33B729A69 for ; Thu, 28 Jun 2018 15:37:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A71142A607; Thu, 28 Jun 2018 15:37:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4141829A69 for ; Thu, 28 Jun 2018 15:37:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965559AbeF1Phc (ORCPT ); Thu, 28 Jun 2018 11:37:32 -0400 Received: from mga04.intel.com ([192.55.52.120]:9613 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965557AbeF1Pha (ORCPT ); Thu, 28 Jun 2018 11:37:30 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Jun 2018 08:37:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,284,1526367600"; d="scan'208";a="68507851" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga001.jf.intel.com with ESMTP; 28 Jun 2018 08:37:21 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fYYz4-000Mb1-1S; Thu, 28 Jun 2018 23:37:22 +0800 Date: Thu, 28 Jun 2018 23:37:09 +0800 From: kbuild test robot To: Stefan Popa Cc: kbuild-all@01.org, jic23@kernel.org, Michael.Hennerich@analog.com, lars@metafoo.de, knaack.h@gmx.de, pmeerw@pmeerw.net, mchehab@kernel.org, davem@davemloft.net, gregkh@linuxfoundation.org, akpm@linux-foundation.org, linus.walleij@linaro.org, rdunlap@infradead.org, lukas@wunner.de, Ismail.Kose@maximintegrated.com, vilhelm.gray@gmail.com, sean.nyekjaer@prevas.dk, pombredanne@nexb.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, stefan.popa@analog.com Subject: [RFC PATCH] iio: dac: cmpfunc() can be static Message-ID: <20180628153709.GA31782@lkp-ib03> References: <1530188012-28253-1-git-send-email-stefan.popa@analog.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1530188012-28253-1-git-send-email-stefan.popa@analog.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: lkp@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 2c1562568d29 ("iio: dac: Add AD5758 support") Signed-off-by: kbuild test robot --- ad5758.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 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 diff --git a/drivers/iio/dac/ad5758.c b/drivers/iio/dac/ad5758.c index 2aaddf9..55c0a61 100644 --- a/drivers/iio/dac/ad5758.c +++ b/drivers/iio/dac/ad5758.c @@ -234,7 +234,7 @@ static int ad5758_spi_write_mask(struct ad5758_state *st, return ad5758_spi_reg_write(st, addr, regval); } -int cmpfunc(const void *a, const void *b) +static int cmpfunc(const void *a, const void *b) { return (*(int *)a - *(int *)b); }