-
由 Dan Carpenter 提交于
There were some places that compared port_speed == -1 where port_speed is a u8. This doesn't work unless we cast the -1 to u8. Some places did it correctly. Instead of using -1 directly, I've created a DUPLICATE_ENTRY define which does the cast and is more descriptive as well. Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NSarah Sharp <sarah.a.sharp@linux.intel.com>
22e04870