]>
Commit | Line | Data |
---|---|---|
9f95a23c TL |
1 | /* |
2 | * Copyright(c) 2012-2018 Intel Corporation | |
3 | * SPDX-License-Identifier: BSD-3-Clause-Clear | |
4 | */ | |
5 | #ifndef __OCF_PRIV_H__ | |
6 | #define __OCF_PRIV_H__ | |
7 | ||
8 | #include "ocf_env.h" | |
9 | #include "ocf_def_priv.h" | |
10 | ||
11 | #define OCF_CHECK_NULL(p) ENV_BUG_ON(!(p)) | |
12 | ||
f67539c2 TL |
13 | #define OCF_CMPL_RET(args...) ({ \ |
14 | cmpl(args); \ | |
15 | return; \ | |
16 | }) | |
17 | ||
9f95a23c | 18 | #endif /* __OCF_PRIV_H__ */ |