From: joshua.a.hay@intel.com Date: Wed, 28 Nov 2012 05:49:20 +0000 (+0000) Subject: ixgbe: eliminate Smatch warnings in ixgbe_debugfs.c X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~144^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3288d735781f8873775e5d2e5d33507119f79cca;p=pandora-kernel.git ixgbe: eliminate Smatch warnings in ixgbe_debugfs.c This patch replaces calls to copy_to_user, copy_from_user, and the associated logic, with calls to simple_read_from_buffer and simple_write_to_buffer respectively. This was done to eliminate warnings generated by the Smatch static analysis tool. v2- Fix return values based community feedback Reported-by: Dan Carpenter CC: Dan Carpenter Signed-off-by: Josh Hay Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed