Date: Mon, 17 May 2004 11:55:45 -0700 (PDT) From: Joerg Wunsch <joerg@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/smbus smb.c Message-ID: <200405171855.i4HItj88034099@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
joerg 2004/05/17 11:55:45 PDT
FreeBSD src repository
Modified files:
sys/dev/smbus smb.c
Log:
Fix various style(9) bugs. This includes the removal of wrong
reimplementations of enodev() (for the smbread() and smbwrite()
functions), as well as fixing various errno values to conform to
errno(3).
Bruce also points out that a number of the pointer == NULL tests
are probably nonsense because the respective checks are already
done at upper layers.
(Mostly) submitted by: bde
Revision Changes Path
1.33 +21 -38 src/sys/dev/smbus/smb.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405171855.i4HItj88034099>
