All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Tony Lindgren <tony@atomide.com>
Cc: kbuild-all@lists.01.org, linux-omap@vger.kernel.org,
	Pavel Machek <pavel@ucw.cz>
Subject: [RFC PATCH omap] gnss: motmdm: motmdm_gnss_send_command() can be static
Date: Sun, 10 May 2020 23:36:58 +0800	[thread overview]
Message-ID: <20200510153658.GA87187@7c31f038ab56> (raw)
In-Reply-To: <202005102338.fOZzLJuj%lkp@intel.com>


Fixes: ae348e86a0ab ("gnss: motmdm: Add support for Motorola Mapphone MDM6600 modem")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 motmdm.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gnss/motmdm.c b/drivers/gnss/motmdm.c
index da1d44bed899d..49d4580ae3eae 100644
--- a/drivers/gnss/motmdm.c
+++ b/drivers/gnss/motmdm.c
@@ -68,8 +68,8 @@ MODULE_PARM_DESC(rate_ms, "GNSS refresh rate between 1000 and 16000 ms (default
  * sort out the ID conflicts with the modem's unsolicited message ID
  * numbering.
  */
-int motmdm_gnss_send_command(struct motmdm_gnss_data *ddata,
-			     const u8 *buf, int len)
+static int motmdm_gnss_send_command(struct motmdm_gnss_data *ddata,
+				    const u8 *buf, int len)
 {
 	struct gnss_device *gdev = ddata->gdev;
 	const int timeout_ms = 1000;

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [RFC PATCH omap] gnss: motmdm: motmdm_gnss_send_command() can be static
Date: Sun, 10 May 2020 23:36:58 +0800	[thread overview]
Message-ID: <20200510153658.GA87187@7c31f038ab56> (raw)
In-Reply-To: <202005102338.fOZzLJuj%lkp@intel.com>

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


Fixes: ae348e86a0ab ("gnss: motmdm: Add support for Motorola Mapphone MDM6600 modem")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 motmdm.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gnss/motmdm.c b/drivers/gnss/motmdm.c
index da1d44bed899d..49d4580ae3eae 100644
--- a/drivers/gnss/motmdm.c
+++ b/drivers/gnss/motmdm.c
@@ -68,8 +68,8 @@ MODULE_PARM_DESC(rate_ms, "GNSS refresh rate between 1000 and 16000 ms (default
  * sort out the ID conflicts with the modem's unsolicited message ID
  * numbering.
  */
-int motmdm_gnss_send_command(struct motmdm_gnss_data *ddata,
-			     const u8 *buf, int len)
+static int motmdm_gnss_send_command(struct motmdm_gnss_data *ddata,
+				    const u8 *buf, int len)
 {
 	struct gnss_device *gdev = ddata->gdev;
 	const int timeout_ms = 1000;

  reply	other threads:[~2020-05-10 15:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-10 15:36 [omap:serdev-ngsm-pending-v5.7 20/29] drivers/gnss/motmdm.c:71:5: sparse: sparse: symbol 'motmdm_gnss_send_command' was not declared. Should it be static? kbuild test robot
2020-05-10 15:36 ` kbuild test robot
2020-05-10 15:36 ` kbuild test robot [this message]
2020-05-10 15:36   ` [RFC PATCH omap] gnss: motmdm: motmdm_gnss_send_command() can be static kbuild test robot

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=20200510153658.GA87187@7c31f038ab56 \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=tony@atomide.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.