mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "H. Nikolaus Schaller" <hns@goldelico.com>
Cc: kbuild-all@01.org, Jiri Slaby <jslaby@suse.cz>,
	Arnd Bergmann <arnd@arndb.de>, Rob Herring <robh+dt@kernel.org>,
	Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	Jonathan Corbet <corbet@lwn.net>,
	Sergei Zviagintsev <sergei@s15v.net>,
	Peter Hurley <peter@hurleysoftware.com>,
	One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>,
	Sebastian Reichel <sre@kernel.org>, NeilBrown <neil@brown.name>,
	Grant Likely <grant.likely@linaro.org>,
	LKML <linux-kernel@vger.kernel.org>,
	linux-serial@vger.kernel.org, Marek Belisko <marek@goldelico.com>,
	devicetree@vger.kernel.org, linux-doc@vger.kernel.org,
	"H. Nikolaus Schaller" <hns@goldelico.com>
Subject: Re: [PATCH v3 3/3] misc: Add w2sg0004 gps receiver driver
Date: Sat, 17 Oct 2015 07:45:43 +0800	[thread overview]
Message-ID: <201510170735.UEiJ8nd3%fengguang.wu@intel.com> (raw)
In-Reply-To: <c53ab7a3ca68f8b9f802c1ea799d72e1cb04a1eb.1445018913.git.hns@goldelico.com>

[-- Attachment #1: Type: text/plain, Size: 2558 bytes --]

Hi Nikolaus,

[auto build test WARNING on tty/tty-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/H-Nikolaus-Schaller/UART-slave-device-support-goldelico-version/20151017-021238
config: xtensa-allmodconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All warnings (new ones prefixed by >>):

>> drivers/misc/w2sg0004.c:361:12: warning: 'w2sg_data_suspend' defined but not used [-Wunused-function]
    static int w2sg_data_suspend(struct device *dev)
               ^
>> drivers/misc/w2sg0004.c:399:12: warning: 'w2sg_data_resume' defined but not used [-Wunused-function]
    static int w2sg_data_resume(struct device *dev)
               ^

vim +/w2sg_data_suspend +361 drivers/misc/w2sg0004.c

   355			uart_register_rx_notification(data->uart, NULL, NULL);
   356			uart_register_slave(data->uart, NULL);
   357		}
   358		return 0;
   359	}
   360	
 > 361	static int w2sg_data_suspend(struct device *dev)
   362	{
   363		struct w2sg_data *data = dev_get_drvdata(dev);
   364	
   365		spin_lock_irq(&data->lock);
   366		data->suspended = true;
   367		spin_unlock_irq(&data->lock);
   368	
   369		cancel_delayed_work_sync(&data->work);
   370	
   371		w2sg_data_set_lna_power(data);	/* shuts down if needed */
   372	
   373		if (data->state == W2SG_PULSE) {
   374			msleep(10);
   375			gpio_set_value_cansleep(data->on_off_gpio, 1);
   376			data->last_toggle = jiffies;
   377			data->is_on = !data->is_on;
   378			data->state = W2SG_NOPULSE;
   379		}
   380	
   381		if (data->state == W2SG_NOPULSE) {
   382			msleep(10);
   383			data->state = W2SG_IDLE;
   384		}
   385	
   386		if (data->is_on) {
   387			pr_info("GPS off for suspend %d %d %d\n", data->requested,
   388				data->is_on, data->lna_is_off);
   389	
   390			gpio_set_value_cansleep(data->on_off_gpio, 0);
   391			msleep(10);
   392			gpio_set_value_cansleep(data->on_off_gpio, 1);
   393			data->is_on = 0;
   394		}
   395	
   396		return 0;
   397	}
   398	
 > 399	static int w2sg_data_resume(struct device *dev)
   400	{
   401		struct w2sg_data *data = dev_get_drvdata(dev);
   402	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 42196 bytes --]

  parent reply	other threads:[~2015-10-16 23:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-16 18:08 [PATCH v3 0/3] UART slave device support (goldelico version) H. Nikolaus Schaller
2015-10-16 18:08 ` [PATCH v3 1/3] tty: serial core: provide a method to search uart by phandle H. Nikolaus Schaller
2015-10-16 18:39   ` Mark Rutland
2015-10-16 19:24     ` H. Nikolaus Schaller
2015-10-16 18:47   ` kbuild test robot
2015-10-16 19:05   ` Arnd Bergmann
2015-10-16 19:29   ` kbuild test robot
2015-10-16 18:08 ` [PATCH v3 2/3] tty: serial_core: add hooks for uart slave drivers H. Nikolaus Schaller
2015-10-16 18:08 ` [PATCH v3 3/3] misc: Add w2sg0004 gps receiver driver H. Nikolaus Schaller
2015-10-16 18:15   ` H. Nikolaus Schaller
2015-10-16 19:06   ` Arnd Bergmann
2015-10-16 19:27     ` H. Nikolaus Schaller
2015-10-16 19:38       ` Arnd Bergmann
2015-10-16 20:07         ` H. Nikolaus Schaller
2015-10-16 23:45   ` kbuild test robot [this message]
2015-10-16 19:11 ` [PATCH v3 0/3] UART slave device support (goldelico version) H. Nikolaus Schaller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201510170735.UEiJ8nd3%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=arnd@arndb.de \
    --cc=corbet@lwn.net \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=gnomes@lxorguk.ukuu.org.uk \
    --cc=grant.likely@linaro.org \
    --cc=hns@goldelico.com \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=jslaby@suse.cz \
    --cc=kbuild-all@01.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=marek@goldelico.com \
    --cc=mark.rutland@arm.com \
    --cc=neil@brown.name \
    --cc=pawel.moll@arm.com \
    --cc=peter@hurleysoftware.com \
    --cc=robh+dt@kernel.org \
    --cc=sergei@s15v.net \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®