On Wed, May 27, 2015 at 09:12:02AM -0500, Tom Lendacky wrote: > > >The reason I'm asking is because while this patch fixes your driver > >everybody else will still crash and burn should something like this > >happen again. > > A number of other drivers already have similar sg-count functions in > them. Perhaps you can help abstract this into a helper that everybody can call? Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html