Since the expression "sizeof(*sense) + sizeof(*sense) % 4" did not make
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sun, 15 Nov 2009 13:14:40 +0000 (13:14 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sun, 15 Nov 2009 13:14:40 +0000 (13:14 +0000)
commit7eac8a24494c13c50316b748f7b5b3c0a4ddd71d
treec8785506358cdb8033d368261a396089e952de07
parentdb442ef8b440ed64caaf2047f8ab70f25a275b12
Since the expression "sizeof(*sense) + sizeof(*sense) % 4" did not make
sense, replaced this expression by "sizeof(*sense)" and a BUILD_BUG_ON()
statement that verifies that sizeof(*sense) is a multiple of four. Should
the first expression have been "roundup(sizeof(*sense), 4)" ?

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1336 d57e44dd-8a1f-0410-8b47-8ef2f437770f
srpt/src/ib_srpt.c