CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2021/02/24 19:48:22

Modified files:
        sys/arch/armv7/sunxi: sxie.c 
        sys/arch/octeon/dev: octcrypto.c 
        sys/dev/ic     : acx.c an.c if_wi.c 
        sys/dev/pci    : if_bwfm_pci.c if_mcx.c safe.c ubsec.c 
        sys/dev/usb    : if_athn_usb.c if_otus.c if_rsu.c if_uath.c 
                         if_urtw.c 
        sys/net        : bridgectl.c if_bridge.c if_pfsync.c if_pppx.c 
                         if_switch.c if_vlan.c if_vxlan.c pipex.c 
                         rtsock.c switchofp.c 
        sys/netinet    : ip_ah.c ip_esp.c ip_icmp.c tcp_subr.c 
        sys/netinet6   : ip6_input.c 

Log message:
we don't have to cast to caddr_t when calling m_copydata anymore.

the first cut of this diff was made with coccinelle using this spatch:

@rule@
type caddr_t;
expression m, off, len, cp;
@@
-m_copydata(m, off, len, (caddr_t)cp)
+m_copydata(m, off, len, cp)

i had fix it's opinionated idea of formatting by hand though, so
i'm not sure it was worth it.

ok deraadt@ bluhm@

Reply via email to