commit | c07fa3fa5ada60b5f0b13d84f7a9893e2c331549 | [log] [tgz] |
---|---|---|
author | Dan Albert <[email protected]> | Thu Dec 18 10:00:55 2014 -0800 |
committer | Dan Albert <[email protected]> | Thu Dec 18 10:24:23 2014 -0800 |
tree | 60de6672ef62073a44dda1ce14fd5a49f8f03229 | |
parent | 4be3610636674b747839c3f604d25d0c5aa4fc78 [diff] |
Fix alignment of buffer used for dm_ioctl. Since the dm_ioctl struct was being allocated on the stack as a large character array, it was getting character alignment rather than the proper alignment for the struct. GCC had been getting away with this so far, but it's undefined behavior that clang managed to expose. Bug: 18736778 Change-Id: Ied275dfad7fcc41d712b2d02c8a185f499221f57