lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166802761535.23951.11996164309163589980.git-patchwork-notify@kernel.org>
Date:   Wed, 09 Nov 2022 21:00:15 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Yang Jihong <yangjihong1@...wei.com>
Cc:     ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
        martin.lau@...ux.dev, song@...nel.org, yhs@...com,
        john.fastabend@...il.com, kpsingh@...nel.org, sdf@...gle.com,
        haoluo@...gle.com, jolsa@...nel.org, mykolal@...com,
        shuah@...nel.org, sunyucong@...il.com, bpf@...r.kernel.org,
        linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] selftests/bpf: Fix test_progs compilation failure in 32-bit
 arch

Hello:

This patch was applied to bpf/bpf.git (master)
by Martin KaFai Lau <martin.lau@...nel.org>:

On Tue, 8 Nov 2022 09:58:57 +0800 you wrote:
> test_progs fails to be compiled in the 32-bit arch, log is as follows:
> 
>   test_progs.c:1013:52: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Werror=format=]
>    1013 |                 sprintf(buf, "MSG_TEST_LOG (cnt: %ld, last: %d)",
>         |                                                  ~~^
>         |                                                    |
>         |                                                    long int
>         |                                                  %d
>    1014 |                         strlen(msg->test_log.log_buf),
>         |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>         |                         |
>         |                         size_t {aka unsigned int}
> 
> [...]

Here is the summary with links:
  - selftests/bpf: Fix test_progs compilation failure in 32-bit arch
    https://git.kernel.org/bpf/bpf/c/5704bc7e8991

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ