net: Use int instead of u8 for boolean flag
authorJoe Hershberger <joe.hershberger@ni.com>
Sun, 22 Mar 2015 22:09:05 +0000 (17:09 -0500)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:11 +0000 (11:11 -0600)
commitfce6900b492c18962a098eae837ea345b75f9a75
tree8437b8c78a2076cf57252e970b8638a6b5298f32
parent05324a488b09c57e7bcc70ae528cd7c098c3e3d3
net: Use int instead of u8 for boolean flag

On some archs masking the parameter is inefficient, so don't use u8.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reported-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/net.h
net/eth.c