File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -759,3 +759,9 @@ size_t get_entity_version(char *buffer, size_t bufsz)
759759
760760 return num_bytes ;
761761}
762+
763+ struct nvmf_ext_attr * nvmf_exat_ptr_next (struct nvmf_ext_attr * p )
764+ {
765+ return (struct nvmf_ext_attr * )
766+ ((uintptr_t )p + (ptrdiff_t )nvmf_exat_size (le16_to_cpu (p -> exatlen )));
767+ }
Original file line number Diff line number Diff line change 1010#define _LIBNVME_UTIL_H
1111
1212#include "types.h"
13- #include <ccan/endian/endian.h>
1413
1514/**
1615 * DOC: util.h
@@ -548,10 +547,6 @@ static inline __u16 nvmf_exat_size(size_t val_len)
548547 *
549548 * Return: Pointer to the next element in the array.
550549 */
551- static inline struct nvmf_ext_attr * nvmf_exat_ptr_next (struct nvmf_ext_attr * p )
552- {
553- return (struct nvmf_ext_attr * )
554- ((uintptr_t )p + (ptrdiff_t )nvmf_exat_size (le16_to_cpu (p -> exatlen )));
555- }
550+ struct nvmf_ext_attr * nvmf_exat_ptr_next (struct nvmf_ext_attr * p );
556551
557552#endif /* _LIBNVME_UTIL_H */
You can’t perform that action at this time.
0 commit comments