- Original Message -
> Instead of passing the __func__, __FILE__, and __LINE__ pre-processor macros
> to
> each of those functions, print the location of the caller via:
>
> printk(%pS", (void *)_RET_IP_).
>
> This gives enough context information to locate where in the code an error
>
Instead of passing the __func__, __FILE__, and __LINE__ pre-processor macros to
each of those functions, print the location of the caller via:
printk(%pS", (void *)_RET_IP_).
This gives enough context information to locate where in the code an error
occurred, and reduces the code size by about