Skip to content

Commit 3baa304

Browse files
committedJun 17, 2024
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool. [1]: https://github.com/codespell-project/codespell Change-Id: Iab32afe9e86f7f4c18984ad2c7717d7cbfd422bb Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
1 parent e0698be commit 3baa304

File tree

10 files changed

+14
-14
lines changed

10 files changed

+14
-14
lines changed
 

‎docs/yaml/interface.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ For floating-point types it is possible to express one of the special values:
104104

105105
For integer types it is possible to express one of the special values:
106106

107-
- `minint` - The mininum value the integer type can hold.
107+
- `minint` - The minimum value the integer type can hold.
108108
- `maxint` - The maximum value the integer type can hold.
109109

110110
### Container Types

‎include/sdbusplus/async/proxy.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ namespace proxy_ns
4141
* ```
4242
*
4343
* The proxy object can be filled as information is available and attempts
44-
* to be as effecient as possible (supporting constexpr construction and
44+
* to be as efficient as possible (supporting constexpr construction and
4545
* using std::string_view mostly). In some cases it is necessary for the
4646
* proxy to leave a scope where it would be no longer safe to use the
4747
* previously-supplied string_views. The `preserve` operation can be used
@@ -72,7 +72,7 @@ struct proxy : private sdbusplus::bus::details::bus_friend
7272
requires(S || P || I)
7373
= delete;
7474

75-
// Construtor allowing all 3 to be passed in.
75+
// Constructor allowing all 3 to be passed in.
7676
constexpr proxy(value_ref<S> s, value_ref<P> p, value_ref<I> i) :
7777
s(s), p(p), i(i){};
7878

‎include/sdbusplus/async/server.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ template <typename Tag, typename Instance>
5656
concept has_get_property_nomsg =
5757
requires(const Instance& i) { i.get_property(Tag{}); };
5858

59-
/* Determine if a type has a get property call that requries a msg. */
59+
/* Determine if a type has a get property call that requires a msg. */
6060
template <typename Tag, typename Instance>
6161
concept has_get_property_msg = requires(
6262
const Instance& i, sdbusplus::message_t& m) { i.get_property(Tag{}, m); };
@@ -81,7 +81,7 @@ template <typename Tag, typename Instance, typename Arg>
8181
concept has_set_property_nomsg = requires(
8282
Instance& i, Arg&& a) { i.set_property(Tag{}, std::forward<Arg>(a)); };
8383

84-
/* Determine if a type has a set property call that requries a msg. */
84+
/* Determine if a type has a set property call that requires a msg. */
8585
template <typename Tag, typename Instance, typename Arg>
8686
concept has_set_property_msg =
8787
requires(Instance& i, sdbusplus::message_t& m, Arg&& a) {

‎include/sdbusplus/async/stdexec/execution.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2185,7 +2185,7 @@ struct __receiver
21852185
}
21862186
}
21872187

2188-
// Forward all receiever queries.
2188+
// Forward all receiver queries.
21892189
friend auto tag_invoke(get_env_t, const __receiver& __self) noexcept
21902190
-> env_of_t<_Receiver&>
21912191
{

‎include/sdbusplus/async/stdexec/sequence_senders.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ concept next_sender = //
5757
// sender and it returns a next-sender. `set_next` is usually called in a
5858
// context where a sender will be connected to a receiver. Since calling
5959
// `set_next` usually involves constructing senders it is allowed to throw an
60-
// excpetion, which needs to be handled by a calling sequence-operation. The
60+
// exception, which needs to be handled by a calling sequence-operation. The
6161
// returned object is a sender that can complete with `set_value_t()` or
6262
// `set_stopped_t()`.
6363
struct set_next_t

‎include/sdbusplus/message/append.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ struct append_single
143143
* @tparam T - Type of element to append.
144144
*
145145
* Template parameters T (function) and S (class) are different
146-
* to allow the function to be utilized for many varients of S:
146+
* to allow the function to be utilized for many variants of S:
147147
* S&, S&&, const S&, volatile S&, etc. The type_id_downcast is used
148148
* to ensure T and S are equivalent. For 'char*', this also allows
149149
* use for 'char[N]' types.

‎include/sdbusplus/message/read.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ struct read_single
121121
* @tparam T - Type of element to read.
122122
*
123123
* Template parameters T (function) and S (class) are different
124-
* to allow the function to be utilized for many varients of S:
124+
* to allow the function to be utilized for many variants of S:
125125
* S&, S&&, const S&, volatile S&, etc. The type_id_downcast is used
126126
* to ensure T and S are equivalent. For 'char*', this also allows
127127
* use for 'char[N]' types.
@@ -396,7 +396,7 @@ struct read_single<std::variant<Args...>>
396396

397397
t = std::move(*ret);
398398
}
399-
else // otherise, read it out directly.
399+
else // otherwise, read it out directly.
400400
{
401401
std::remove_reference_t<T1> t1;
402402
sdbusplus::message::read(intf, m, t1);

‎include/sdbusplus/server/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Handles the generation and maintenance of the _transaction id_.
55
**What is _transaction id_** - A unique identifier created by hashing the bus
66
name and message cookie from a dbus call. The bus name (unique to each
77
application) and message cookie (unique within each bus peer) allows each dbus
8-
message to be uniquely identifed.
8+
message to be uniquely identified.
99

1010
**When is _transaction id_ generated** - When an error response message is
1111
created, and whenever the id is requested and has not been initialized yet.

‎include/sdbusplus/utility/dedup_variant.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ struct dedup_variant<std::variant<Done...>, First, Rest...> :
5151

5252
} // namespace details
5353

54-
/** This type is useful for generated code which may inadvertantly contain
54+
/** This type is useful for generated code which may inadvertently contain
5555
* duplicate types if specified simply as `std::variant<A, B, C>`. Some
5656
* types, such as `uint32_t` and `size_t` are the same on some architectures
57-
* and different on others. `dedup_variant_t<uint32_t, size_t>` will evalute
57+
* and different on others. `dedup_variant_t<uint32_t, size_t>` will evaluate
5858
* to `std::variant<uint32_t>` on architectures where there is a collision.
5959
*/
6060
template <typename T, typename... Types>

‎tools/sdbusplus/path.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def __init__(self, segment=False, **kwargs):
2626
if not segment and self.value[0] != "/":
2727
raise ValueError(f"Paths must start with /: {self.value}")
2828
if segment and self.value[0] == "/":
29-
raise ValueError(f"Segments canot start with /: {self.value}")
29+
raise ValueError(f"Segments cannot start with /: {self.value}")
3030
segments = self.value.split("/")
3131
if not segment:
3232
segments = segments[1:]

0 commit comments

Comments
 (0)
Please sign in to comment.