mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
00e99ccde7
This patch changes to use __le types directly in the dlm message structure which is casted at the right dlm message buffer positions. The main goal what is reached here is to remove sparse warnings regarding to host to little byte order conversion or vice versa. Leaving those sparse issues ignored and always do it in out/in functionality tends to leave it unknown in which byte order the variable is being handled. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
19 lines
545 B
C
19 lines
545 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/******************************************************************************
|
|
*******************************************************************************
|
|
**
|
|
** Copyright (C) 2005 Red Hat, Inc. All rights reserved.
|
|
**
|
|
**
|
|
*******************************************************************************
|
|
******************************************************************************/
|
|
|
|
#ifndef __UTIL_DOT_H__
|
|
#define __UTIL_DOT_H__
|
|
|
|
int to_dlm_errno(int err);
|
|
int from_dlm_errno(int err);
|
|
|
|
#endif
|
|
|