NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-mmeye/54447: MMEYE_WLF kernel does not compile
>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.)
Home |
Main Index |
Thread Index |
Old Index