Re: [Mesa-dev] [PATCH] util: Fix warning in u_cpu_detect on non-x86

2018-11-11 Thread Alyssa Rosenzweig
Alright, thank you :) ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] util: Fix warning in u_cpu_detect on non-x86

2018-11-11 Thread Matt Turner
Thank you. I noticed this as well. Reviewed-by: Matt Turner I'll commit it tomorrow if there are no additional comments. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] util: Fix warning in u_cpu_detect on non-x86

2018-11-11 Thread Alyssa Rosenzweig
regs is only set and used on x86; on other platforms (like ARM), this code causes a trivial warning, solved by moving the regs declaration to the architecture-dependent usage. Signed-off-by: Alyssa Rosenzweig --- src/util/u_cpu_detect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)