From: Stephen Boyd Date: Thu, 12 May 2011 23:50:09 +0000 (-0700) Subject: Bluetooth: Silence DEBUG_STRICT_USER_COPY_CHECKS=y warning X-Git-Tag: v3.1-rc1~316^2~350^2^2~124^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0fad89da9801b3945d2ee7243ecbc75b3da6f09;p=pandora-kernel.git Bluetooth: Silence DEBUG_STRICT_USER_COPY_CHECKS=y warning Enabling DEBUG_STRICT_USER_COPY_CHECKS causes the following warning: In function 'copy_from_user', inlined from 'rfcomm_sock_setsockopt' at net/bluetooth/rfcomm/sock.c:705: arch/x86/include/asm/uaccess_64.h:65: warning: call to 'copy_from_user_overflow' declared with attribute warning: copy_from_user() buffer size is not provably correct presumably due to buf_size being signed causing GCC to fail to see that buf_size can't become negative. Cc: Marcel Holtmann Cc: Gustavo F. Padovan Signed-off-by: Stephen Boyd Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed