From: Dan Carpenter Date: Mon, 8 Sep 2014 11:17:35 +0000 (+0300) Subject: xen-scsiback: clean up a type issue in scsiback_make_tpg() X-Git-Tag: omap-for-v3.19/prcm-cleanup~115^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=495daef902425e241a0b95791f3aeb737928256a;p=pandora-kernel.git xen-scsiback: clean up a type issue in scsiback_make_tpg() This code was confusing because we had an unsigned long and then we compared it to UINT_MAX and then we stored it in a u16. How many bytes is this supposed to have: 2, 4 or 16??? I've made it a u16 throughout. Signed-off-by: Dan Carpenter Reviewed-by: Juergen Gross Signed-off-by: David Vrabel --- Reading git-diff-tree failed