Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src/sys/arch/newsmips/apbus

Module Name:    src
Committed By:   martin
Date:           Sat Sep  2 16:19:35 UTC 2023

Modified Files:
        src/sys/arch/newsmips/apbus [netbsd-10]: if_sn.c

Log Message:
Pull up following revision(s) (requested by andvar in ticket #341):

        sys/arch/newsmips/apbus/if_sn.c: revision 1.53

newsmips: fix build with SNDEBUG option enabled.

It was broken since rev 1.21 24 years ago, and got more broken code later on:
remove leftover device_xname(sc->sc_dev) param from aprint_debug_dev
in one block.
fix wrong method name devoce_xname to device_xname in second block.
rename et to eh for consistency, and define it (definition was removed
in the past).
while here, improve the code with riastradh help to make it safer.

To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.52.4.1 src/sys/arch/newsmips/apbus/if_sn.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index