NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/58634 CVS commit: src/sys/dev/usb
The following reply was made to PR kern/58634; it has been noted by GNATS.
From: "SAITOH Masanobu" <msaitoh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/58634 CVS commit: src/sys/dev/usb
Date: Mon, 6 Jul 2026 11:49:25 +0000
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