aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahul Chaudhry <rahulchaudhry@google.com>2017-02-01 01:12:54 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-02-01 01:12:54 +0000
commit8b25264d3410625f90ed7354180a0ec4c34c2f37 (patch)
tree190b3a1de40b3b7d4cfcff6b57bfc2ab6d276eeb
parent50031a52fa6d821a9fd679d0a2cc4f3a6c9b97a0 (diff)
parente52a7f4addee2c1b6b85fbd445890ccc1c5fc2d1 (diff)
downloadnvram-8b25264d3410625f90ed7354180a0ec4c34c2f37.tar.gz
system/nvram: fix typos and clang-tidy warnings
am: e52a7f4add Change-Id: I794cc66c311a96e3f81dc5ab96e63ab0078ec84c
-rw-r--r--core/crypto.h2
-rw-r--r--hal/include/nvram/hal/tests/scoped_nvram_device.h2
-rw-r--r--hal/tests/nvram_hal_test.cc2
-rw-r--r--hal/tests/scoped_nvram_device.cc2
-rw-r--r--messages/message_codec.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/core/crypto.h b/core/crypto.h
index b97fb17..901b46b 100644
--- a/core/crypto.h
+++ b/core/crypto.h
@@ -40,6 +40,6 @@ void SHA256(const uint8_t* data,
size_t digest_size);
} // namespace crypto
-} // namespave nvram
+} // namespace nvram
#endif // NVRAM_CORE_CRYPTO_H_
diff --git a/hal/include/nvram/hal/tests/scoped_nvram_device.h b/hal/include/nvram/hal/tests/scoped_nvram_device.h
index 7034a85..8fb1978 100644
--- a/hal/include/nvram/hal/tests/scoped_nvram_device.h
+++ b/hal/include/nvram/hal/tests/scoped_nvram_device.h
@@ -77,6 +77,6 @@ class ScopedNvramDevice {
nvram_device_t* device_ = nullptr;
};
-} // namespace nvram_client
+} // namespace nvram
#endif // NVRAM_HAL_TESTS_SCOPED_NVRAM_DEVICE_H_
diff --git a/hal/tests/nvram_hal_test.cc b/hal/tests/nvram_hal_test.cc
index 18373bb..5447f8a 100644
--- a/hal/tests/nvram_hal_test.cc
+++ b/hal/tests/nvram_hal_test.cc
@@ -550,4 +550,4 @@ TEST(NVRAMModuleTest, ReadWriteSpaceDoesNotExist) {
device.EnableReadLock(index, kNoAuth));
}
-} // namespace
+} // namespace nvram
diff --git a/hal/tests/scoped_nvram_device.cc b/hal/tests/scoped_nvram_device.cc
index 3a001f3..fab59f4 100644
--- a/hal/tests/scoped_nvram_device.cc
+++ b/hal/tests/scoped_nvram_device.cc
@@ -233,4 +233,4 @@ nvram_result_t ScopedNvramDevice::EnableReadLock(
authorization_value.size());
}
-} // namespace nvram_client
+} // namespace nvram
diff --git a/messages/message_codec.cpp b/messages/message_codec.cpp
index 229bf1f..09b83af 100644
--- a/messages/message_codec.cpp
+++ b/messages/message_codec.cpp
@@ -134,5 +134,5 @@ const FieldDescriptor* MessageDecoderBase::FindDescriptor(
return nullptr;
}
-} // namespace nvram
} // namespace proto
+} // namespace nvram