From: sumit.saxena@avagotech.com Date: Thu, 15 Oct 2015 08:10:54 +0000 (+0530) Subject: megaraid_sas : SMAP restriction--do not access user memory from IOCTL code X-Git-Tag: v3.2.74~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7e70badb0ee4fb9737bf9793e17eedd907b68f8;p=pandora-kernel.git megaraid_sas : SMAP restriction--do not access user memory from IOCTL code commit 323c4a02c631d00851d8edc4213c4d184ef83647 upstream. This is an issue on SMAP enabled CPUs and 32 bit apps running on 64 bit OS. Do not access user memory from kernel code. The SMAP bit restricts accessing user memory from kernel code. Signed-off-by: Sumit Saxena Signed-off-by: Kashyap Desai Reviewed-by: Tomas Henzl Signed-off-by: Martin K. Petersen Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed