aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2020-01-29 20:27:49 +1100
committerJason Wang <jasowang@redhat.com>2020-03-03 18:04:47 +0800
commit9e3cd456d85ad45e72bdba99203302342ce29b3b (patch)
treebb1bbfa2a7ca552f8387057f17a203bce68600c2 /exec.c
parent46ffee9ad43185cbee4182c208bbd534814086ca (diff)
dp8393x: Have dp8393x_receive() return the packet size
This function re-uses its 'size' argument as a scratch variable. Instead, declare a local 'size' variable for that purpose so that the function result doesn't get messed up. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions