linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Russell Currey <ruscur@russell.cc>
To: nathanl@linux.ibm.com, "Michael Ellerman" <mpe@ellerman.id.au>,
	"Nicholas Piggin" <npiggin@gmail.com>,
	"Michal Suchánek" <msuchanek@suse.de>
Cc: tyreld@linux.ibm.com, gcwilson@linux.ibm.com,
	linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH RFC 2/2] powerpc/selftests: add test for papr-vpd
Date: Thu, 24 Aug 2023 16:20:16 +1000	[thread overview]
Message-ID: <350d2d004cb3d250e40141a0e6f588c8a5585d90.camel@russell.cc> (raw)
In-Reply-To: <20230822-papr-sys_rtas-vs-lockdown-v1-2-932623cf3c7b@linux.ibm.com>

On Tue, 2023-08-22 at 16:33 -0500, Nathan Lynch via B4 Relay wrote:
> From: Nathan Lynch <nathanl@linux.ibm.com>

Hi Nathan,

snowpatch has found a compiler error with this patch.


   Error: papr_vpd.c:346:33: error: passing argument 2 of 'test_harness'
   discards 'const' qualifier from pointer target type [-Werror=discarded-
   qualifiers]
      if (test_harness(t->function, t->description))
                                    ^
   In file included from papr_vpd.c:11:0:
   /linux/tools/testing/selftests/powerpc/include/utils.h:35:5: note:
   expected 'char *' but argument is of type 'const char * const'
    int test_harness(int (test_function)(void), char *name);
        ^

https://github.com/linuxppc/linux-snowpatch/actions/runs/5960052721/job/16166735476#step:6:1337
https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20230822-papr-sys_rtas-vs-lockdown-v1-2-932623cf3c7b@linux.ibm.com/

- Russell

  reply	other threads:[~2023-08-24  6:21 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-22 21:33 [PATCH RFC 0/2] powerpc/pseries: new character devices for RTAS functions Nathan Lynch via B4 Relay
2023-08-22 21:33 ` [PATCH RFC 1/2] powerpc/pseries: papr-vpd char driver for VPD retrieval Nathan Lynch via B4 Relay
2023-08-30  7:29   ` Michal Suchánek
2023-08-31  5:34     ` Michael Ellerman
2023-08-31 10:38       ` Michal Suchánek
2023-08-31 11:37         ` Michael Ellerman
2023-08-31 11:44           ` Michal Suchánek
2023-08-31 17:59             ` Nathan Lynch
2023-09-04  7:20               ` Michal Suchánek
2023-09-05  2:42                 ` Michael Ellerman
2023-09-05  8:24                   ` Michal Suchánek
2023-08-31 11:35       ` Michal Suchánek
2023-09-04  7:48       ` Michal Suchánek
2023-08-31 15:52     ` Nathan Lynch
2023-09-06  9:19   ` Michal Suchánek
2023-08-22 21:33 ` [PATCH RFC 2/2] powerpc/selftests: add test for papr-vpd Nathan Lynch via B4 Relay
2023-08-24  6:20   ` Russell Currey [this message]
2023-08-24 11:51     ` Nathan Lynch
2023-09-06  9:30 ` [PATCH RFC 0/2] powerpc/pseries: new character devices for RTAS functions Michal Suchánek
2023-09-06 12:08 ` [PATCH RFC] powerpc/rtas: Make it possible to disable sys_rtas Michal Suchanek
2023-09-06 19:34   ` Nathan Lynch
2023-09-07 16:01     ` Michal Suchánek
2023-09-07 16:52       ` Nathan Lynch
2023-09-07 17:19         ` Michal Suchánek
2023-09-08 17:48           ` Nathan Lynch

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=350d2d004cb3d250e40141a0e6f588c8a5585d90.camel@russell.cc \
    --to=ruscur@russell.cc \
    --cc=gcwilson@linux.ibm.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=msuchanek@suse.de \
    --cc=nathanl@linux.ibm.com \
    --cc=npiggin@gmail.com \
    --cc=tyreld@linux.ibm.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).