qdl: address checkpatch issues

CHECK: Macro argument 'typecast' may be better as '(typecast)' to

Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
This commit is contained in:
Igor Opaniuk
2025-06-24 19:54:49 +02:00
parent cc4dced2f8
commit 67472bf750

2
qdl.h
View File

@@ -11,7 +11,7 @@
#define container_of(ptr, typecast, member) ({ \
void *_ptr = (void *)(ptr); \
((typecast *)(_ptr - offsetof(typecast, member))); })
((typeof(typecast) *)(_ptr - offsetof(typecast, member))); })
#define MAPPING_SZ 64