fix: 规范整改
Signed-off-by: zhushengle <zhushengle@huawei.com> Change-Id: I7be78853291d53636fd199104b4c72bbab222bcd
This commit is contained in:
@@ -498,7 +498,7 @@ static inline UINT64 __atomic_load_8(const volatile void *mem, int model)
|
||||
ret = *(UINT64 *)mem;
|
||||
free_lock (memP, model);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
static inline void __atomic_store_8(volatile void *mem, UINT64 val, int model)
|
||||
{
|
||||
@@ -511,7 +511,7 @@ static inline void __atomic_store_8(volatile void *mem, UINT64 val, int model)
|
||||
static inline UINT64 __atomic_exchange_8(volatile void *mem, UINT64 val, int model)
|
||||
{
|
||||
UINT64 ret;
|
||||
|
||||
|
||||
void *memP = (void *)mem;
|
||||
get_lock (memP, model);
|
||||
ret = *(UINT64 *)mem;
|
||||
|
||||
@@ -248,7 +248,7 @@ LITE_OS_SEC_ALW_INLINE STATIC_INLINE BOOL LOS_ListEmpty(LOS_DL_LIST *node)
|
||||
* <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
|
||||
* @see
|
||||
*/
|
||||
#define LOS_OFF_SET_OF(type, member) ((UINT32)&(((type *)0)->member)) /*lint -e(413) */
|
||||
#define LOS_OFF_SET_OF(type, member) ((UINT32)&(((type *)0)->member))
|
||||
|
||||
/**
|
||||
* @ingroup los_list
|
||||
|
||||
Reference in New Issue
Block a user