From owner-cvs-all Tue Feb 26 13:21:17 2002 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id EC96137B421; Tue, 26 Feb 2002 13:20:49 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g1QLKji34250; Tue, 26 Feb 2002 14:20:45 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g1QLKiL27387; Tue, 26 Feb 2002 14:20:45 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200202262120.g1QLKiL27387@harmony.village.org> To: Mikhail Teterin Subject: Re: cvs commit: src/sys/dev/awi if_awi_pccard.c Cc: brooks@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.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> Date: Tue, 26 Feb 2002 14:20:44 -0700 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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