* [PATCH 0/3] spelling: Fix some trivial typos @ 2022-12-20 22:20 Ricardo Ribalda 2022-12-20 22:20 ` [PATCH 1/3] scripts/spelling.txt: Add permitted Ricardo Ribalda ` (2 more replies) 0 siblings, 3 replies; 7+ messages in thread From: Ricardo Ribalda @ 2022-12-20 22:20 UTC (permalink / raw) To: kvm, Andrew Morton, devicetree, Ricardo Ribalda, Joel Fernandes, linux-kernel Seems like permitted has two t :), Lets add that to spellings to help others. Cc: Joel Fernandes <joel@joelfernandes.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: linux-kernel@vger.kernel.org Cc: kvm@vger.kernel.org Cc: devicetree@vger.kernel.org Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> --- Ricardo Ribalda (3): scripts/spelling.txt: Add permitted KVM: x86: Fix trivial typo of: overlay: Fix trivial typo arch/x86/kvm/emulate.c | 8 ++++---- drivers/of/overlay.c | 2 +- scripts/spelling.txt | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) --- base-commit: b6bb9676f2165d518b35ba3bea5f1fcfc0d969bf change-id: 20221220-permited-7336f4537e8f Best regards, -- Ricardo Ribalda <ribalda@chromium.org> ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/3] scripts/spelling.txt: Add permitted 2022-12-20 22:20 [PATCH 0/3] spelling: Fix some trivial typos Ricardo Ribalda @ 2022-12-20 22:20 ` Ricardo Ribalda 2022-12-20 22:20 ` [PATCH 2/3] KVM: x86: Fix trivial typo Ricardo Ribalda 2022-12-20 22:20 ` [PATCH 3/3] of: overlay: " Ricardo Ribalda 2 siblings, 0 replies; 7+ messages in thread From: Ricardo Ribalda @ 2022-12-20 22:20 UTC (permalink / raw) To: kvm, Andrew Morton, devicetree, Ricardo Ribalda, Joel Fernandes, linux-kernel Add another common typo. Noticed when I sent a patch with the typo and in kvm and of. Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> --- scripts/spelling.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/spelling.txt b/scripts/spelling.txt index ded8bcfc0247..bb788a733722 100644 --- a/scripts/spelling.txt +++ b/scripts/spelling.txt @@ -1121,6 +1121,7 @@ perfomring||performing periperal||peripheral peripherial||peripheral permissons||permissions +permited||permitted peroid||period persistance||persistence persistant||persistent -- 2.39.0.314.g84b9a713c41-goog-b4-0.11.0-dev-696ae ^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/3] KVM: x86: Fix trivial typo 2022-12-20 22:20 [PATCH 0/3] spelling: Fix some trivial typos Ricardo Ribalda 2022-12-20 22:20 ` [PATCH 1/3] scripts/spelling.txt: Add permitted Ricardo Ribalda @ 2022-12-20 22:20 ` Ricardo Ribalda 2022-12-21 12:42 ` Philippe Mathieu-Daudé 2022-12-20 22:20 ` [PATCH 3/3] of: overlay: " Ricardo Ribalda 2 siblings, 1 reply; 7+ messages in thread From: Ricardo Ribalda @ 2022-12-20 22:20 UTC (permalink / raw) To: kvm, Andrew Morton, devicetree, Ricardo Ribalda, Joel Fernandes, linux-kernel Permitted is spelled with two t. Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> --- arch/x86/kvm/emulate.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index 5cc3efa0e21c..56e1cf7c339e 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -2615,8 +2615,8 @@ static bool emulator_io_port_access_allowed(struct x86_emulate_ctxt *ctxt, return true; } -static bool emulator_io_permited(struct x86_emulate_ctxt *ctxt, - u16 port, u16 len) +static bool emulator_io_permitted(struct x86_emulate_ctxt *ctxt, + u16 port, u16 len) { if (ctxt->perm_ok) return true; @@ -3961,7 +3961,7 @@ static int check_rdpmc(struct x86_emulate_ctxt *ctxt) static int check_perm_in(struct x86_emulate_ctxt *ctxt) { ctxt->dst.bytes = min(ctxt->dst.bytes, 4u); - if (!emulator_io_permited(ctxt, ctxt->src.val, ctxt->dst.bytes)) + if (!emulator_io_permitted(ctxt, ctxt->src.val, ctxt->dst.bytes)) return emulate_gp(ctxt, 0); return X86EMUL_CONTINUE; @@ -3970,7 +3970,7 @@ static int check_perm_in(struct x86_emulate_ctxt *ctxt) static int check_perm_out(struct x86_emulate_ctxt *ctxt) { ctxt->src.bytes = min(ctxt->src.bytes, 4u); - if (!emulator_io_permited(ctxt, ctxt->dst.val, ctxt->src.bytes)) + if (!emulator_io_permitted(ctxt, ctxt->dst.val, ctxt->src.bytes)) return emulate_gp(ctxt, 0); return X86EMUL_CONTINUE; -- 2.39.0.314.g84b9a713c41-goog-b4-0.11.0-dev-696ae ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 2/3] KVM: x86: Fix trivial typo 2022-12-20 22:20 ` [PATCH 2/3] KVM: x86: Fix trivial typo Ricardo Ribalda @ 2022-12-21 12:42 ` Philippe Mathieu-Daudé 0 siblings, 0 replies; 7+ messages in thread From: Philippe Mathieu-Daudé @ 2022-12-21 12:42 UTC (permalink / raw) To: Ricardo Ribalda, kvm, Andrew Morton, devicetree, Joel Fernandes, linux-kernel On 20/12/22 23:20, Ricardo Ribalda wrote: > Permitted is spelled with two t. > > Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> > --- > arch/x86/kvm/emulate.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3/3] of: overlay: Fix trivial typo 2022-12-20 22:20 [PATCH 0/3] spelling: Fix some trivial typos Ricardo Ribalda 2022-12-20 22:20 ` [PATCH 1/3] scripts/spelling.txt: Add permitted Ricardo Ribalda 2022-12-20 22:20 ` [PATCH 2/3] KVM: x86: Fix trivial typo Ricardo Ribalda @ 2022-12-20 22:20 ` Ricardo Ribalda 2022-12-21 12:42 ` Philippe Mathieu-Daudé 2022-12-22 14:43 ` Rob Herring 2 siblings, 2 replies; 7+ messages in thread From: Ricardo Ribalda @ 2022-12-20 22:20 UTC (permalink / raw) To: kvm, Andrew Morton, devicetree, Ricardo Ribalda, Joel Fernandes, linux-kernel Permitted is spelled with two t. Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> --- drivers/of/overlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c index ed4e6c144a68..2e01960f1aeb 100644 --- a/drivers/of/overlay.c +++ b/drivers/of/overlay.c @@ -1121,7 +1121,7 @@ static int node_overlaps_later_cs(struct overlay_changeset *remove_ovcs, * The topmost check is done by exploiting this property. For each * affected device node in the log list we check if this overlay is * the one closest to the tail. If another overlay has affected this - * device node and is closest to the tail, then removal is not permited. + * device node and is closest to the tail, then removal is not permitted. */ static int overlay_removal_is_ok(struct overlay_changeset *remove_ovcs) { -- 2.39.0.314.g84b9a713c41-goog-b4-0.11.0-dev-696ae ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 3/3] of: overlay: Fix trivial typo 2022-12-20 22:20 ` [PATCH 3/3] of: overlay: " Ricardo Ribalda @ 2022-12-21 12:42 ` Philippe Mathieu-Daudé 2022-12-22 14:43 ` Rob Herring 1 sibling, 0 replies; 7+ messages in thread From: Philippe Mathieu-Daudé @ 2022-12-21 12:42 UTC (permalink / raw) To: Ricardo Ribalda, kvm, Andrew Morton, devicetree, Joel Fernandes, linux-kernel On 20/12/22 23:20, Ricardo Ribalda wrote: > Permitted is spelled with two t. > > Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> > --- > drivers/of/overlay.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 3/3] of: overlay: Fix trivial typo 2022-12-20 22:20 ` [PATCH 3/3] of: overlay: " Ricardo Ribalda 2022-12-21 12:42 ` Philippe Mathieu-Daudé @ 2022-12-22 14:43 ` Rob Herring 1 sibling, 0 replies; 7+ messages in thread From: Rob Herring @ 2022-12-22 14:43 UTC (permalink / raw) To: Ricardo Ribalda Cc: linux-kernel, Andrew Morton, Joel Fernandes, kvm, devicetree On Tue, 20 Dec 2022 23:20:32 +0100, Ricardo Ribalda wrote: > Permitted is spelled with two t. > > Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> > --- > drivers/of/overlay.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied, thanks! ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-12-22 14:43 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-12-20 22:20 [PATCH 0/3] spelling: Fix some trivial typos Ricardo Ribalda 2022-12-20 22:20 ` [PATCH 1/3] scripts/spelling.txt: Add permitted Ricardo Ribalda 2022-12-20 22:20 ` [PATCH 2/3] KVM: x86: Fix trivial typo Ricardo Ribalda 2022-12-21 12:42 ` Philippe Mathieu-Daudé 2022-12-20 22:20 ` [PATCH 3/3] of: overlay: " Ricardo Ribalda 2022-12-21 12:42 ` Philippe Mathieu-Daudé 2022-12-22 14:43 ` Rob Herring
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).