aboutsummaryrefslogtreecommitdiff
path: root/scripts/mksysmap
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2009-09-30 13:54:47 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-10-05 09:32:22 -0700
commit5c7fba322917ef91842676de55fba470bc2af5f3 (patch)
treea2ddb7ba31b8f63b65b365eb735ba87f42675626 /scripts/mksysmap
parent536a16fef0f84b71d949c67b0fc51de6325bca32 (diff)
net: Make the copy length in af_packet sockopt handler unsigned
fixed upstream in commit b7058842c940ad2c08dd829b21e5c92ebe3b8758 in a different way The length of the to-copy data structure is currently stored in a signed integer. However many comparisons are done with sizeof(..) which is unsigned. It's more suitable for this variable to be unsigned to make these comparisons more naturally right. Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Cc: David S. Miller <davem@davemloft.net> Cc: Ingo Molnar <mingo@elte.hu> Cc: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/mksysmap')
0 files changed, 0 insertions, 0 deletions