OSDN Git Service

atm: iphase: fix a 64 bit bug
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 28 Jun 2018 09:24:42 +0000 (12:24 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jun 2018 09:44:38 +0000 (18:44 +0900)
commit92291c95e71a7898109c1f95adfb48aa69e5ba7b
treeaf0221ab3541fc9c42990c26a6f476ba2f316885
parentc860e997e9170a6d68f9d1e6e2cf61f572191aaf
atm: iphase: fix a 64 bit bug

The code assumes that there is 4 bytes in a pointer and it doesn't
allocate enough memory.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/iphase.c