]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: dm9000: Turn DM9000_DMP_PACKET() into a function
authorMarek Vasut <marex@denx.de>
Wed, 13 Apr 2022 02:15:27 +0000 (04:15 +0200)
committerRamon Fried <ramon@neureality.ai>
Wed, 13 Apr 2022 12:13:54 +0000 (15:13 +0300)
commitc7b7ee52b2818a891f5a974a4bdc4a5808a1885b
treed4a41b2657d0be89f1798f0815390c073de7cd0a
parentd1854794c04b4a8151a89baab4f507824c2cd1d9
net: dm9000: Turn DM9000_DMP_PACKET() into a function

Rework DM9000_DMP_PACKET() into dm9000_dump_packet() function,
this brings better type checking. No functional change.

Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Ramon Fried <rfried.dev@gmail.com>
drivers/net/dm9000x.c