Shaohua Li <shli@xxxxxxxxxx> writes: > On Fri, Jan 06, 2017 at 07:31:35PM -0500, Jes.Sorensen@xxxxxxxxxx wrote: >> From: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx> >> >> This fixes a build error on certain architectures, such as ppc64. > > Yep, we should use IS_ERR here, applied this. I'm curious why there is a > compile error. The IS_ERR_VALUE casts the pointer to 'unsigned long'. When building on ppc64 I get a -Wsign-compare build error due to -Werror. Cheers, Jes -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html