aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahul Chaudhry <rahulchaudhry@google.com>2017-01-24 16:00:13 -0800
committerRahul Chaudhry <rahulchaudhry@google.com>2017-01-24 16:07:37 -0800
commite52a7f4addee2c1b6b85fbd445890ccc1c5fc2d1 (patch)
tree190b3a1de40b3b7d4cfcff6b57bfc2ab6d276eeb
parent50031a52fa6d821a9fd679d0a2cc4f3a6c9b97a0 (diff)
downloadnvram-e52a7f4addee2c1b6b85fbd445890ccc1c5fc2d1.tar.gz
system/nvram: fix typos and clang-tidy warningsandroid-o-preview-1android-n-mr2-preview-2o-preview
This change fixes a few typos and clang tidy warnings related to the "llvm-namespace-comment" checks. Bug: 26936282 Test: WITH_TIDY=1 WITH_TIDY_CHECKS="llvm-namespace-comment" mm Change-Id: Ib2783ee52713c2b0e5da1b8131c7baec696e74f9
-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