Similarily, pgoff << PAGE_SHIFT would need pgoff to be unsigned to fit, but off_t is signed. The reason for this shift was to truncate the offset argument to be aligned to page boundaries, do that instead Change-Id: I36c3de34b1834fdb0503942a6f3212e94986effd
8.5 KiB
8.5 KiB