From: Nickolai Zeldovich
Date: Thu, 17 Jan 2013 12:18:29 -0500
> The code to print the FIFO size in tc574_config computes it as:
>
> 8 << config & Ram_size
>
> which evaluates the '<<' first, but the actual intent is to evaluate the
> '&' first. Add parentheses to enforce desired evaluation
The code to print the FIFO size in tc574_config computes it as:
8 << config & Ram_size
which evaluates the '<<' first, but the actual intent is to evaluate the
'&' first. Add parentheses to enforce desired evaluation order.
Signed-off-by: Nickolai Zeldovich
---
The code to print the FIFO size in tc574_config computes it as:
8 config Ram_size
which evaluates the '' first, but the actual intent is to evaluate the
'' first. Add parentheses to enforce desired evaluation order.
Signed-off-by: Nickolai Zeldovich nicko...@csail.mit.edu
---
From: Nickolai Zeldovich nicko...@csail.mit.edu
Date: Thu, 17 Jan 2013 12:18:29 -0500
The code to print the FIFO size in tc574_config computes it as:
8 config Ram_size
which evaluates the '' first, but the actual intent is to evaluate the
'' first. Add parentheses to enforce desired
4 matches
Mail list logo