Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7d3ac5c7 authored by Sahara's avatar Sahara Committed by David S. Miller
Browse files

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: default avatarSahara <keun-o.park@windriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6bdeaba4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment