~nfraprado

São Paulo, Brazil

https://nfraprado.net

~nfraprado/test

Last active 3 years ago
View more

Recent activity

Re: [PATCH v3] x86/cpu: Include missing header 2 years ago

From Nícolas F. R. A. Prado to ~lkcamp/patches

Hi Luciano,

On Wed, Sep 21, 2022 at 11:37:12PM -0300, Luciano Leão wrote:
> Include the header containing the prototype of a global function,
> solving the following warning:
> 
>  arch/x86/kernel/cpu/feat_ctl.c:112:6: warning: no previous prototype for
>  'init_ia32_feat_ctl'
>  [-Wmissing-prototypes]
> 
> This warning appeared after commit 5d5103595e9e5 ("x86/cpu: Reinitialize
> IA32_FEAT_CTL MSR on BSP during wakeup") had moved function
> init_ia32_feat_ctl()'s prototype from arch/x86/kernel/cpu/cpu.h to
> arch/x86/include/asm/cpu.h.

Re: [PATCH v2] x86/cpu: Include missing header 2 years ago

From Nícolas F. R. A. Prado to ~lkcamp/patches

Hi Luciano,

thanks for the patch. See my comment below.

On Thu, Sep 15, 2022 at 12:58:10AM -0300, Luciano Leão wrote:
> Includes the header containing the prototype of a global function,
> solving the following warning:
> 
>  arch/x86/kernel/cpu/feat_ctl.c:112:6: warning: no previous prototype for
>  'init_ia32_feat_ctl'
>  [-Wmissing-prototypes]
> 
> This warning appeared after 5d5103595e9e5 had moved function

Re: [PATCH] iio: ad7266: convert probe to full device-managed 2 years ago

From Nícolas F. R. A. Prado to ~lkcamp/patches

On Wed, Apr 06, 2022 at 11:51:24AM -0300, Maíra Canal wrote:
> Convert probe functions to device-managed variants, with exception of
> the regulator, which required a devm_add_action_or_reset() hook
> registration.
> 
> ---
> Estou apenas fazendo alguns testes da minha configuração de email, pois, por
> algum motivo, os meus emails não estão aparecendo na lista do kernel.
> 
> Eu creio que o meu email não está indo para lista, porque o email do Michel
> Hennerich não é válido. Estou apenas testando essa hipótese antes de mandar para 
> a lista do kernel novamente.
> 
> Novamente, desculpa o spam na lista

Re: [PATCH v3 2/2] drm: selftests: convert drm_cmdline_parser selftest to KUnit 2 years ago

From Nícolas F. R. A. Prado to ~lkcamp/patches

Hi Maira,

thanks for the patch. Please see the feedback below.

On Wed, Feb 02, 2022 at 09:03:00PM -0300, Leandro Ribeiro wrote:
> 
> 
> 
> -------- Forwarded Message --------
> Subject: Fwd: [PATCH v3 2/2] drm: selftests: convert drm_cmdline_parser
> selftest to KUnit
> Date: Wed, 2 Feb 2022 20:55:36 -0300
> From: Maíra Canal <maira.canal@usp.br>
> To: leandrohr@riseup.net

Re: [PATCH v3 1/2] drm: selftests: refactor drm_cmdline_parser 2 years ago

From Nícolas F. R. A. Prado to ~lkcamp/patches

Hi Maira,

thanks for the patch.

To be quite honest with you, I have a feeling that this change won't be accepted
upstream. I know that seeing how much duplicated code there are in these tests
gives an itch to create helper functions that de-duplicate it. I feel it as
well.

However, it seems to me that these helper functions end up just making the test
harder to follow. Here you have written the helper functions with very few
parameters, which makes them even shorter (less typing and code duplication),
however it makes a lot of assumptions, and for this reason they aren't very
re-usable.

Re: [PATCH v3 1/9] drm: vkms: Replace the deprecated drm_mode_config_init 2 years ago

From Nícolas F. R. A. Prado to ~lkcamp/patches

Hi Igor,

just some nits on the commit message.

On Mon, Nov 22, 2021 at 04:43:52PM -0300, Igor Torrente wrote:
> The `drm_mode_config_init` was deprecated since c3b790e commit, and it's

When referring to other commits, it's best to write it as 'commit <12-digit-SHA>
("description")' [1]. Also, imperative mood works best, so my suggestion would
be:

`drm_mode_config_init` is deprecated since commit c3b790ea07a1 ("drm: Manage
drm_mode_config_init with drmm_") in favor of `drmm_mode_config_init`. Update
the former to the latter.

Re: [PATCH] drm: selftest: convert drm_plane_helper selftest to KUnit 2 years ago

From Nícolas F. R. A. Prado to ~lkcamp/patches

Hi Anderson,

thank you for the patch.

See comments below.

On Sat, Nov 20, 2021 at 10:38:47PM +0900, Anderson Fraga wrote:
> test-drm_plane_helper.c is a unit test for plane_helper.c to check the
> support of primary plane implementation on top of the normal CRTC
> configuration interface. It also checks plane updates in the switch
> process to the atomic helper infrastructure.

I think you don't need to explain what this test is about, since the change here
is only about the framework used.

DRM KUnit hackathon 2 years ago

From Nícolas F. R. A. Prado to ~lkcamp/discussion

Hello,

We belong to a student group, LKCAMP [1], which is focused on sharing kernel and
free software development knowledge and mentoring newcomers to become
contributors to these projects.

As part of our efforts, we'll be organizing a hackathon to convert the drm
selftests in drivers/gpu/drm/selftests/ (and possibly the ones in
drivers/dma-buf too) to the KUnit framework. It will take place on October 30.

So please expect to receive some patches from our mentees on that date. It
probably won't be a big volume (experience tells it'll be around half a dozen
patches). We'll also make sure to do an internal review beforehand to catch
common first-timer mistakes and teach the basics.

Re: [PATCH v2] lib: use of kunit in test_parman.c 3 years ago

From Nícolas F. R. A. Prado to ~lkcamp/patches

Hello,

Any update on the review of this patch? Jiri Pirko?

Thanks,
Nícolas

On Wed, Jul 28, 2021 at 02:31:07PM +0800, David Gow wrote:
> On Wed, Jul 28, 2021 at 12:55 PM José Aquiles Guedes de Rezende
> <jjoseaquiless@gmail.com> wrote:
> >
> > Convert the parman test module to use the KUnit test framework.
> > This makes the test clearer by leveraging KUnit's assertion macros
> > and test case definitions,as well as helps standardize on a testing framework.

Re: [PATCH v2] lib: use of kunit in test_parman.c 3 years ago

From Nícolas F. R. A. Prado to ~lkcamp/patches

Oi Aquiles,

respondendo em português mesmo e só internamente na nossa lista de emails.

Eu vi que você já recebeu vários reviews e até já mandou esse v2, bem legal! :D

Um detalhe é que você não colocou a lista do KUnit em cópia:
kunit-dev@googlegroups.com

Não precisa reenviar só por isso, claro, só estou falando pra você lembrar de
adicionar na v3 caso pedirem pra alterar mais alguma coisa :).

Outra coisa, essas tags que os revisores colocam, quando você reenvia uma nova
versão do patch, você tem que adicionar no seu commit, depois dos