Quoting Christopher Li <sparse@xxxxxxxxxxx>: > > I would prefer that sparse emits a specific warning about function vs > > function pointer mismatch. Even if it doesn't matter, it makes the code > > easier to read and safer to modify. > > I did not find a easy way to do it yet. I see. I thought it was easy. Then your patch is fine for me. It's better to have no warning than a misleading warning about a stylistic issue. -- Regards, Pavel Roskin - To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html