]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r299503,r299504:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 10 Jun 2016 15:47:20 +0000 (15:47 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 10 Jun 2016 15:47:20 +0000 (15:47 +0000)
commitc6ab0ef6d4302aaacf460cfc1e3e29f67451bde3
tree29aceb711327bd7d880265dfda3b092baa7bba2c
parent5605c0da65e28459fa5f690bc3fa2d0ecf84e39b
MFC r299503,r299504:

r299503 (by cem):

snd_hda(4): Don't pass bogus sizeof()s to unused sysctl arg2 parameter

None of the sysctl handlers in hdaa use the arg2 parameter, so just pass zero
instead.  Additionally, the sizes being passed in were suspect (size of the
pointer rather than the value).

CIDs: 10076941009679

r299504 (by cem):

snd_hda(4): Don't pass bogus sizeof()s to unused sysctl arg2 parameter (again)

More of the same sort of issue as r299503, just missed some sysctls added in a
different place than the others.

CIDs: 100769210096771009678

git-svn-id: svn://svn.freebsd.org/base/stable/10@301799 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sound/pci/hda/hdaa.c