Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2002 14:20:44 -0700
From:      Warner Losh <imp@harmony.village.org>
To:        Mikhail Teterin <mi@aldan.algebra.com>
Cc:        brooks@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/awi if_awi_pccard.c 
Message-ID:  <200202262120.g1QLKiL27387@harmony.village.org>
In-Reply-To: Your message of "Tue, 26 Feb 2002 15:44:40 EST." <200202262044.g1QKigX25029@aldan.algebra.com> 
References:  <200202262044.g1QKigX25029@aldan.algebra.com>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200202262044.g1QKigX25029@aldan.algebra.com> Mikhail Teterin writes:
: On 26 Feb, Brooks Davis wrote:
: > brooks      2002/02/26 12:09:19 PST
: > 
: >   Modified files:
: >     sys/dev/awi          if_awi_pccard.c 
: >   Log:
: >   Set ifp->if_name to "awi" instead of device_get_name(dev) to avoid
: >   casting away a const qualifier so the awi driver compiles.
: 
: Is not this workaround an indication, that device_get_name(dev) should
: be returning ``const char*''?

No, it means that ifp->if_name should be const char *.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202262120.g1QLKiL27387>