git: kernel/cpu_topology: Fix a casting issue in the topology tree printing.

Sascha Wildner swildner at crater.dragonflybsd.org
Fri Mar 28 15:19:29 PDT 2014


commit 9fc6d334e11f9583da60715ace56b574314fb4c6
Author: Sascha Wildner <saw at online.de>
Date:   Fri Mar 28 23:18:02 2014 +0100

    kernel/cpu_topology: Fix a casting issue in the topology tree printing.
    
    compute_unit_id is uint8_t so it's actually 0xff we want to check for.
    Before this commit, the "... != -1" checks were always true.

Summary of changes:
 sys/kern/subr_cpu_topology.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9fc6d334e11f9583da60715ace56b574314fb4c6


-- 
DragonFly BSD source repository


More information about the Commits mailing list