NetBSD Problem Report #54447

From www@netbsd.org  Thu Aug  8 18:03:19 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id BD4A07A15F
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  8 Aug 2019 18:03:18 +0000 (UTC)
Message-Id: <20190808180317.EC5CC7A16B@mollari.NetBSD.org>
Date: Thu,  8 Aug 2019 18:03:17 +0000 (UTC)
From: thorpej@me.com
Reply-To: thorpej@me.com
To: gnats-bugs@NetBSD.org
Subject: MMEYE_WLF kernel does not compile
X-Send-Pr-Version: www-1.0

>Number:         54447
>Category:       port-mmeye
>Synopsis:       MMEYE_WLF kernel does not compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-mmeye-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 08 18:05:00 +0000 2019
>Originator:     Jason Thorpe
>Release:        9.99.2
>Organization:
Jason's Garage of Hackery
>Environment:
NetBSD-current 9.99.2
>Description:
The MMEYE_WLF kernel does not build due to issues with the IDE controller driver:

../../../../arch/mmeye/dev/wdc_mainbus.c: In function 'wdc_mainbus_match':
../../../../arch/mmeye/dev/wdc_mainbus.c:101:23: error: passing argument 1 of 'wdc_init_shadow_regs' from incompatible pointer type [-Werror=incompatible-pointer-types]
  wdc_init_shadow_regs(&ch);
                       ^
In file included from ../../../../arch/mmeye/dev/wdc_mainbus.c:43:0:
../../../../dev/ic/wdcvar.h:145:6: note: expected 'struct wdc_regs *' but argument is of type 'struct ata_channel *'
 void wdc_init_shadow_regs(struct wdc_regs *);
      ^~~~~~~~~~~~~~~~~~~~
../../../../arch/mmeye/dev/wdc_mainbus.c:118:20: error: passing argument 1 of 'wdcprobe' from incompatible pointer type [-Werror=incompatible-pointer-types]
  result = wdcprobe(&ch);
                    ^
In file included from ../../../../arch/mmeye/dev/wdc_mainbus.c:43:0:
../../../../dev/ic/wdcvar.h:147:5: note: expected 'struct wdc_regs *' but argument is of type 'struct ata_channel *'
 int wdcprobe(struct wdc_regs *);
     ^~~~~~~~
cc1: all warnings being treated as errors
--- wdc_mainbus.o ---
*** [wdc_mainbus.o] Error code 1

>How-To-Repeat:
Attempt to build the MMEYE_WLF kernel.
>Fix:
(Not provided.)

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.