Source-Changes archive

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

CVS commit: src/sys/dev/ic



Module Name:    src
Committed By:   xtraeme
Date:           Mon Feb 25 21:22:33 UTC 2008

Modified Files:
        src/sys/dev/ic: mfi.c mfivar.h

Log Message:
Apply some KNF to this driver and do some random changes as well:

- Change malloc + memset(blah, 0, ...)  to malloc with M_ZERO.
- The adapt_ioctl assigned was returning ENOTTY, so there's no point
  on having it.
- Static'ify.

I believe there are some paths on this driver where the splbio()s
are not needed, but can't test to verify...


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/dev/ic/mfi.c
cvs rdiff -r1.7 -r1.8 src/sys/dev/ic/mfivar.h

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