From: Jesse Brandeburg Date: Sat, 28 Sep 2013 07:13:39 +0000 (+0000) Subject: i40e: clamp debugfs nvm read command X-Git-Tag: v3.13-rc1~105^2~141^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=520dfd8b09dc9f4da6499b93ef0db7166746e8c3;p=pandora-kernel.git i40e: clamp debugfs nvm read command This issue was identified by the coverity checker where we were not checking the upper limit on reads, reported by Hannes Frederic Sowa. Implement more specific limits on reads (min 1k, max 4k) Signed-off-by: Jesse Brandeburg CC: Hannes Frederic Sowa Tested-by: Kavindya Deegala Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed