Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107996006
D37367.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
408 B
Referenced Files
None
Subscribers
None
D37367.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/slab.h b/sys/compat/linuxkpi/common/include/linux/slab.h
--- a/sys/compat/linuxkpi/common/include/linux/slab.h
+++ b/sys/compat/linuxkpi/common/include/linux/slab.h
@@ -90,6 +90,8 @@
/* drm-kmod 5.4 compat */
#define kfree_async(ptr) kfree(ptr);
+#define ZERO_OR_NULL_PTR(x) ((x) == NULL)
+
static inline gfp_t
linux_check_m_flags(gfp_t flags)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 21, 8:20 AM (20 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16004689
Default Alt Text
D37367.diff (408 B)
Attached To
Mode
D37367: linuxkpi: Define `ZERO_OR_NULL_PTR()` in <linux/slab.h>
Attached
Detach File
Event Timeline
Log In to Comment