Source-Changes archive

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

CVS commit: src/sys/dev/usb



Module Name:    src
Committed By:   msaitoh
Date:           Mon Jul  6 11:49:25 UTC 2026

Modified Files:
        src/sys/dev/usb: if_smsc.c

Log Message:
usmsc(4): Check the return value of smsc_readreg() in smsc_uno_read_reg()

 Fixes PR kern/58634:
 - Check the return value of smsc_readreg() in smsc_uno_read_reg() and return
   the error to the caller.
 - Return 0 as the register value when error occurred just for the consistency
   in smsc_uno_read_reg(). Note that it's not required because
   usbnet.c::uno_read_reg() doesn't access the value if error occurred.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/sys/dev/usb/if_smsc.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