Hi Dan, > Prior to a5ffddb70c5cab "mwifiex: remove casts of void pointers" the > code assumed that the data_buf parameter could be a NULL pointer. > The patch preserved some NULL checks but not consistently, so there > was a potential for NULL dereferences and it changed the behavior. Thanks for the catch! > This patch restores the original behavior. > > Signed-off-by: Dan Carpenter <error27@xxxxxxxxx> Acked-by: Bing Zhao <bzhao@xxxxxxxxxxx> Best regards, Bing -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html