]> git.baikalelectronics.ru Git - kernel.git/commit
ptp_pch: eliminate a number of sparse warnings
authorSahara <keun-o.park@windriver.com>
Tue, 26 Mar 2013 19:07:23 +0000 (19:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Mar 2013 16:48:31 +0000 (12:48 -0400)
commit218f98c316e320c6474246a6457c1891b6a77c15
treea6df1230fa42b75f04bacbd95e0f5f1e27e78c5a
parent50a7e79e023cabf79b7cc5051aaa508b60179868
ptp_pch: eliminate a number of sparse warnings

This fixes a number of sparse warnings like:
  warning: incorrect type in argument 2 (different address spaces)
    expected void volatile [noderef] <asn:2>*addr
    got unsigned int *<noident>

  warning: Using plain integer as NULL pointer

Additionally this fixes a warning from checkpatch.pl like:
  WARNING: sizeof pch_param.station should be sizeof(pch_param.station)

Signed-off-by: Sahara <keun-o.park@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_pch.c