From: Sergey Bronnikov via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Sergey Kaplun <skaplun@tarantool.org>,
Sergey Bronnikov <estetus@gmail.com>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH 1/2] test: fix typos
Date: Fri, 14 Jul 2023 15:36:40 +0300 [thread overview]
Message-ID: <bfad8bb6-5dc3-ccd8-9b31-97ce919e2609@tarantool.org> (raw)
In-Reply-To: <ZLE3VnsLZVCG6mrZ@root>
Thanks for review!
Updated branch force-pushed.
On 7/14/23 14:53, Sergey Kaplun wrote:
> Hi, Sergey!
> Thanks for the patch!
> LGTM, except some comments below:
>
> 1) I suppose it should be named `refactoring: fix typos`, since we also
> changed debugger scripts and tools files. Feel free to split this commit
> into three for each subsystem, but I see no need in this.
Agreed offline to change to "codehealth".
> On 11.07.23, Sergey Bronnikov wrote:
>> From: Sergey Bronnikov <sergeyb@tarantool.org>
>>
>> Fix typos found with codespell in a files with our own source code.
> Typo: s/a files/files/
Fixed!
<snipped>
>> diff --git a/tools/memprof/process.lua b/tools/memprof/process.lua
>> index 0bcb965b..9dc202ae 100644
>> --- a/tools/memprof/process.lua
>> +++ b/tools/memprof/process.lua
>> @@ -39,8 +39,8 @@ function M.form_heap_delta(events, symbols)
>> for _, heap_chunk in pairs(event.primary) do
>> local ev_line = symtab.demangle(symbols, heap_chunk.loc)
>>
>> - if (heap_chunk.alloced > 0) then
>> - dheap[ev_line].dbytes = dheap[ev_line].dbytes + heap_chunk.alloced
>> + if (heap_chunk.allocated > 0) then
>> + dheap[ev_line].dbytes = dheap[ev_line].dbytes + heap_chunk.allocated
>> dheap[ev_line].nalloc = dheap[ev_line].nalloc + heap_chunk.count
>> end
> 2) Can we avoid such changes in the not-string/non-comment chunks?
I suppose no in checkpatch. These typos were found by manual codespell run.
next prev parent reply other threads:[~2023-07-14 12:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-11 16:51 [Tarantool-patches] [PATCH 0/2] Fix typos and enable checkpatch Sergey Bronnikov via Tarantool-patches
2023-07-11 16:51 ` [Tarantool-patches] [PATCH 1/2] test: fix typos Sergey Bronnikov via Tarantool-patches
2023-07-14 11:53 ` Sergey Kaplun via Tarantool-patches
2023-07-14 12:36 ` Sergey Bronnikov via Tarantool-patches [this message]
2023-07-11 16:51 ` [Tarantool-patches] [PATCH 2/2] ci: enable checkpatch Sergey Bronnikov via Tarantool-patches
2023-07-14 12:45 ` Sergey Kaplun via Tarantool-patches
2023-07-17 13:22 ` Sergey Bronnikov via Tarantool-patches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bfad8bb6-5dc3-ccd8-9b31-97ce919e2609@tarantool.org \
--to=tarantool-patches@dev.tarantool.org \
--cc=estetus@gmail.com \
--cc=sergeyb@tarantool.org \
--cc=skaplun@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH 1/2] test: fix typos' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox