소스 검색

trivial typos: namesapce

'namespace' is misspelled in a bunch of places.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Message-Id: <20220614104045.85728-3-dgilbert@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Dr. David Alan Gilbert 3 년 전
부모
커밋
a0984714fb
3개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 4 4
      hw/9pfs/9p-xattr-user.c
  2. 1 1
      hw/acpi/nvdimm.c
  3. 1 1
      hw/nvme/ctrl.c

+ 4 - 4
hw/9pfs/9p-xattr-user.c

@@ -27,7 +27,7 @@ static ssize_t mp_user_getxattr(FsContext *ctx, const char *path,
 {
 {
     if (strncmp(name, "user.virtfs.", 12) == 0) {
     if (strncmp(name, "user.virtfs.", 12) == 0) {
         /*
         /*
-         * Don't allow fetch of user.virtfs namesapce
+         * Don't allow fetch of user.virtfs namespace
          * in case of mapped security
          * in case of mapped security
          */
          */
         errno = ENOATTR;
         errno = ENOATTR;
@@ -49,7 +49,7 @@ static ssize_t mp_user_listxattr(FsContext *ctx, const char *path,
             name_size -= 12;
             name_size -= 12;
         } else {
         } else {
             /*
             /*
-             * Don't allow fetch of user.virtfs namesapce
+             * Don't allow fetch of user.virtfs namespace
              * in case of mapped security
              * in case of mapped security
              */
              */
             return 0;
             return 0;
@@ -74,7 +74,7 @@ static int mp_user_setxattr(FsContext *ctx, const char *path, const char *name,
 {
 {
     if (strncmp(name, "user.virtfs.", 12) == 0) {
     if (strncmp(name, "user.virtfs.", 12) == 0) {
         /*
         /*
-         * Don't allow fetch of user.virtfs namesapce
+         * Don't allow fetch of user.virtfs namespace
          * in case of mapped security
          * in case of mapped security
          */
          */
         errno = EACCES;
         errno = EACCES;
@@ -88,7 +88,7 @@ static int mp_user_removexattr(FsContext *ctx,
 {
 {
     if (strncmp(name, "user.virtfs.", 12) == 0) {
     if (strncmp(name, "user.virtfs.", 12) == 0) {
         /*
         /*
-         * Don't allow fetch of user.virtfs namesapce
+         * Don't allow fetch of user.virtfs namespace
          * in case of mapped security
          * in case of mapped security
          */
          */
         errno = EACCES;
         errno = EACCES;

+ 1 - 1
hw/acpi/nvdimm.c

@@ -476,7 +476,7 @@ struct NvdimmFuncGetLabelDataOut {
     /* the size of buffer filled by QEMU. */
     /* the size of buffer filled by QEMU. */
     uint32_t len;
     uint32_t len;
     uint32_t func_ret_status; /* return status code. */
     uint32_t func_ret_status; /* return status code. */
-    uint8_t out_buf[]; /* the data got via Get Namesapce Label function. */
+    uint8_t out_buf[]; /* the data got via Get Namespace Label function. */
 } QEMU_PACKED;
 } QEMU_PACKED;
 typedef struct NvdimmFuncGetLabelDataOut NvdimmFuncGetLabelDataOut;
 typedef struct NvdimmFuncGetLabelDataOut NvdimmFuncGetLabelDataOut;
 QEMU_BUILD_BUG_ON(sizeof(NvdimmFuncGetLabelDataOut) > NVDIMM_DSM_MEMORY_SIZE);
 QEMU_BUILD_BUG_ON(sizeof(NvdimmFuncGetLabelDataOut) > NVDIMM_DSM_MEMORY_SIZE);

+ 1 - 1
hw/nvme/ctrl.c

@@ -76,7 +76,7 @@
  *   the SUBNQN field in the controller will report the NQN of the subsystem
  *   the SUBNQN field in the controller will report the NQN of the subsystem
  *   device. This also enables multi controller capability represented in
  *   device. This also enables multi controller capability represented in
  *   Identify Controller data structure in CMIC (Controller Multi-path I/O and
  *   Identify Controller data structure in CMIC (Controller Multi-path I/O and
- *   Namesapce Sharing Capabilities).
+ *   Namespace Sharing Capabilities).
  *
  *
  * - `aerl`
  * - `aerl`
  *   The Asynchronous Event Request Limit (AERL). Indicates the maximum number
  *   The Asynchronous Event Request Limit (AERL). Indicates the maximum number