Today, I learn that typedef
with struct
trick give you a way to use structure tag like normal type. But, it is not suggested as mentioned in Linux kernel coding style document except few scenarios.
You can read more on this from stack overflow question and some of its answers such as this or this.
In general, do NOT write this.
Be explicit and write this.