Skip to content

drivers: disk: nvme: fix include guard typo #90431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions drivers/disk/nvme/nvme.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* with contributions from Alexander Motin and Wojciech Macek
*/

#ifndef ZEPHYR_DRIVERS_DISK_NVME_NHME_H_
#ifndef ZEPHYR_DRIVERS_DISK_NVME_NVME_H_
#define ZEPHYR_DRIVERS_DISK_NVME_NVME_H_

#include "nvme_helpers.h"
Expand Down Expand Up @@ -476,4 +476,4 @@ static inline void nvme_unlock(const struct device *dev)
k_mutex_unlock(&nvme_ctrlr->lock);
}

#endif /* ZEPHYR_DRIVERS_DISK_NVME_NHME_H_ */
#endif /* ZEPHYR_DRIVERS_DISK_NVME_NVME_H_ */
6 changes: 3 additions & 3 deletions drivers/disk/nvme/nvme_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* Copyright (c) 2022 Intel Corp.
*/

#ifndef ZEPHYR_DRIVERS_DISK_NVME_NHME_HELPERS_H_
#define ZEPHYR_DRIVERS_DISK_NVME_NHME_HELPERS_H_
#ifndef ZEPHYR_DRIVERS_DISK_NVME_NVME_HELPERS_H_
#define ZEPHYR_DRIVERS_DISK_NVME_NVME_HELPERS_H_

#define NVME_GONE 0xfffffffful

Expand Down Expand Up @@ -516,4 +516,4 @@ enum shst_value {

#define NVME_IS_BUFFER_DWORD_ALIGNED(_buf_addr) (!((uintptr_t)_buf_addr & 0x3))

#endif /* ZEPHYR_DRIVERS_DISK_NVME_NHME_HELPERS_H_ */
#endif /* ZEPHYR_DRIVERS_DISK_NVME_NVME_HELPERS_H_ */