net/wan/fsl_ucc_hdlc: fix muram allocation error
authorHolger Brunck <[email protected]>
Mon, 22 May 2017 07:31:15 +0000 (09:31 +0200)
committerDavid S. Miller <[email protected]>
Mon, 22 May 2017 16:28:45 +0000 (12:28 -0400)
commit85deed56032b6c98b541895bfda9bdd74f6ed987
tree2c98cf841098b14e5ed03cdc52deeacb5a13fa0b
parenta777f715caf0ff95652a872d1af24942cf5002fc
net/wan/fsl_ucc_hdlc: fix muram allocation error

sizeof(priv->ucc_pram) is 4 as it is the size of a pointer, but we want
to reserve space for the struct ucc_hdlc_param.

Signed-off-by: Holger Brunck <[email protected]>
Cc: Zhao Qiang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/wan/fsl_ucc_hdlc.c