msm8660-common: cifs: use offsetof macro

This cleans up the code by using the offsetof macro instead of
the &pSMB->hdr.Protocol construct. By implementing this, we avoid
array subscript compiler warnings.

Patch file referenced from:
https://git.samba.org/sfrench/?p=sfrench/cifs-2.6.git;a=commit;h=b2a3ad9ca502169fc4c11296fa20f56059c7c031

Change-Id: Ic70e975a760148923e53f4e5e0694d64195e38f5
msm: msm_fb: remove mmio access through mmap

Disable access to mm io and add
appropriate range checks to ensure valid accesses
through framebuffer mmap. This prevents illegal
access into memory.

CRs-Fixed: 474706
Change-Id: If25166f2732433ef967e99c716440030b567aae9
Signed-off-by: Manoj Rao <manojraj@codeaurora.org>