sizeof when applied to a pointer typed expression gives the size of the pointer. Found by coccinelle spatch "misc/noderef.cocci"
Run against version v3.11-7547-g44598f9 Let me know when you as a maintainer are not interested in these kind of patches. I can exclude you by path; all cocci findings in e.g. "drivers/scsi" will never be reported again by this semi-automatic cocci program runs. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/