Re: CVS commit: src/sys/arch/i386/stand/efiboot

2020-02-10 Thread Kimihiro Nonaka
Hi,

Hyper-V Gen.2 VM has only 1024x768 GOP entry.
https://twitter.com/nonakap/status/1227076603470942208

kernel will be booted in text mode. no output to the console.
If execute "gop 0" command before booting a kernel, it works fine.

On Sat, Feb 8, 2020 at 11:35 PM Jared D. McNeill  wrote:
>
> Module Name:src
> Committed By:   jmcneill
> Date:   Sat Feb  8 14:35:47 UTC 2020
>
> Modified Files:
> src/sys/arch/i386/stand/efiboot: eficons.c
>
> Log Message:
> Fix a few bugs related to the framebuffer:
>  - If a GOP mode wasn't explicitly requested, the bootloader was passing
>fb info to the kernel even if the console was in text mode! This
>results in garbled console output on at least ThinkPad T420 and
>likely many others. If a mode isn't specified, default to 800x600.
>  - The "gop" command was incorrectly parsing video modes in the form
>WxHxD as WxWxD.
>  - Allow a short form WxH for the "gop" command to select any mode with
>the target dimensions.
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.7 -r1.8 src/sys/arch/i386/stand/efiboot/eficons.c
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
>


Re: CVS commit: src/external/bsd/dhcpcd/dist/src

2020-02-10 Thread Roy Marples

On 09/02/2020 19:21, Joerg Sonnenberger wrote:

On Sat, Feb 08, 2020 at 12:17:16PM +, Santhosh Raju wrote:

Module Name:src
Committed By:   fox
Date:   Sat Feb  8 12:17:16 UTC 2020

Modified Files:
src/external/bsd/dhcpcd/dist/src: dhcp.c

Log Message:
external/bsd/dhcpcd: Fix a -Wconversion warning.

Type cast uint16_t to size_t to prevent implicit type conversion.


Seriously? That should not warn and no cast should be used either.


What fix would you recommend then?

Roy