git: kernel/asr: Fix -Waddress on gcc47.

Sascha Wildner swildner at
Tue Mar 12 13:50:33 PDT 2013

commit a1f2c914b8cd6ce8baa22478c7c2d7b1b1288b6d
Author: Sascha Wildner <saw at>
Date:   Tue Mar 12 21:31:20 2013 +0100

    kernel/asr: Fix -Waddress on gcc47.
    gcc47 was complaining about two cases where an address that could never
    be NULL was checked against NULL in the SG() macro. Work around it by
    using a pointer in between.

Summary of changes:
 sys/dev/raid/asr/asr.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list