mirror of
https://github.com/torvalds/linux.git
synced 2026-02-04 15:28:49 +08:00
The sg_nents_for_len() function could fail, this patch add a check for its return value. Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>