Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.19-rc7 22 lines 412 B view raw
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2021 Intel Corporation 4 */ 5 6#ifndef _XE_MACROS_H_ 7#define _XE_MACROS_H_ 8 9#include <linux/bug.h> 10 11#define XE_WARN_ON WARN_ON 12 13#define XE_IOCTL_DBG(xe, cond) ({ \ 14 int cond__ = !!(cond); \ 15 if (cond__) \ 16 drm_dbg(&(xe)->drm, \ 17 "Ioctl argument check failed at %s:%d: %s", \ 18 __FILE__, __LINE__, #cond); \ 19 cond__; \ 20}) 21 22#endif