Skip to content
Snippets Groups Projects
Commit c5b42f34 authored by Gabriel A. Devenyi's avatar Gabriel A. Devenyi Committed by Jeff Garzik
Browse files

[PATCH] drivers/net/wireless/hermes.c unsigned int comparision

hermas_bap_pread,  hermes_bap_pwrite, and hermes_bap_pwrite_pad all have a parameter "len" that is declared unsigned,
but checked for a value less than zero. Auditing the callers, it is possible for len to be passed a negative value, so len should be an int.

Thanks to LinuxICC (http://linuxicc.sf.net

)

Signed-off-by: default avatarGabriel A. Devenyi <ace@staticwave.ca>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent cbf7c42b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment