
Currently in driver, we use memcpy() to copy data stored in log buffers to multiple fields in the struct tAniHdr. But from kernel 6.1, if FORTIFY_SOURCE feature is enabled, then kernel warns of field-spanning. To resolve this issue, assign a void pointer to the struct and use it in memcpy(). Change-Id: If4d089f4118c573ef57b87b83f9a350da1674b2b CRs-Fixed: 3465600