public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] staging: vt6655: fixing various sparse problems
@ 2015-01-18  2:04 mathieu.poirier
  2015-01-18  2:04 ` [PATCH 1/4] staging: vt6655: correcting function declaration sparse error mathieu.poirier
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: mathieu.poirier @ 2015-01-18  2:04 UTC (permalink / raw)
  To: forest, gregkh; +Cc: devel, linux-kernel, mathieu.poirier

From: Mathieu Poirier <mathieu.poirier@linaro.org>

>From a v3.19-rc4 baseline sparse finds the following errors:

  LD      drivers/staging/vt6655/built-in.o
  CHECK   drivers/staging/vt6655/device_main.c
drivers/staging/vt6655/device_main.c:1503:25: warning: incorrect type in argument 1 (different address spaces)
drivers/staging/vt6655/device_main.c:1503:25:    expected void [noderef] <asn:2>*<noident>
drivers/staging/vt6655/device_main.c:1503:25:    got struct vnt_private *
drivers/staging/vt6655/device_main.c:1503:25: warning: incorrect type in argument 2 (different address spaces)
drivers/staging/vt6655/device_main.c:1503:25:    expected void [noderef] <asn:2>*<noident>
drivers/staging/vt6655/device_main.c:1503:25:    got struct vnt_private *
drivers/staging/vt6655/device_main.c:1505:25: warning: incorrect type in argument 1 (different address spaces)
drivers/staging/vt6655/device_main.c:1505:25:    expected void [noderef] <asn:2>*<noident>
drivers/staging/vt6655/device_main.c:1505:25:    got struct vnt_private *
drivers/staging/vt6655/device_main.c:1505:25: warning: incorrect type in argument 2 (different address spaces)
drivers/staging/vt6655/device_main.c:1505:25:    expected void [noderef] <asn:2>*<noident>
drivers/staging/vt6655/device_main.c:1505:25:    got struct vnt_private *
drivers/staging/vt6655/device_main.c:1672:5: warning: symbol 'vnt_init' was not declared. Should it be static?
  CC [M]  drivers/staging/vt6655/device_main.o
  CHECK   drivers/staging/vt6655/card.c
  CC [M]  drivers/staging/vt6655/card.o
  CHECK   drivers/staging/vt6655/channel.c
  CC [M]  drivers/staging/vt6655/channel.o
  CHECK   drivers/staging/vt6655/mac.c
drivers/staging/vt6655/mac.c:162:6: warning: symbol 'MACvGetShortRetryLimit' was not declared. Should it be static?
  CC [M]  drivers/staging/vt6655/mac.o
  CHECK   drivers/staging/vt6655/baseband.c
drivers/staging/vt6655/baseband.c:2180:45: warning: incorrect type in argument 1 (different address spaces)
drivers/staging/vt6655/baseband.c:2180:45:    expected struct vnt_private *priv
drivers/staging/vt6655/baseband.c:2180:45:    got void [noderef] <asn:2>*dwIoBase
  CC [M]  drivers/staging/vt6655/baseband.o
  CHECK   drivers/staging/vt6655/rxtx.c


The following pachset provides a fix for the above.

Mathieu Poirier (4):
  staging: vt6655: correcting function declaration sparse error
  staging: vt6655: removing dead function as reported by sparse
  staging: vt6655: fix wrong parameter as reported by sparse
  staging: vt6655: correcting parameter related sparse error

 drivers/staging/vt6655/baseband.c    |  2 +-
 drivers/staging/vt6655/device_main.c |  8 +++++---
 drivers/staging/vt6655/mac.c         | 19 -------------------
 3 files changed, 6 insertions(+), 23 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-01-28  2:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-18  2:04 [PATCH 0/4] staging: vt6655: fixing various sparse problems mathieu.poirier
2015-01-18  2:04 ` [PATCH 1/4] staging: vt6655: correcting function declaration sparse error mathieu.poirier
2015-01-25 11:39   ` Greg KH
2015-01-28  2:37     ` Mathieu Poirier
2015-01-18  2:04 ` [PATCH 2/4] staging: vt6655: removing dead function as reported by sparse mathieu.poirier
2015-01-18  2:04 ` [PATCH 3/4] staging: vt6655: fix wrong parameter " mathieu.poirier
2015-01-18  2:04 ` [PATCH 4/4] staging: vt6655: correcting parameter related sparse error mathieu.poirier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox