Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1727877
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
| Newsgroups | linux.kernel |
| Subject | linux-next: build warning after merge of the tpmdd tree |
| Date | Thu, 07 Sep 2017 04:40:02 +0200 |
| Message-ID | <umUTw-233-7@gated-at.bofh.it> (permalink) |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1504751493; bh=OjBmSxjNZe6slrJk3u10fbylLXcgP+E2jccuFp3CrKY=; h=Date:From:To:Cc:Subject:From; b=dqnAZoBW2kiHHp6yboua0bn0DFy1A7XkBZpH8i7ASAJFnbbjfahjDO5XSj90XknEM x8kMGZdcOM/+4bn4EGQ9eBYwz2NPXOsadIvhB4UdRGS1DTqj4gStTQVfkzfqC9lTrG bPxi0k3x8FJXm7KhUh0oD1H2Rpdou2q3iVfDFvgorCGAhejEMwjW1WTeR5pfrT0mnF f17ARJPio9tbALBHDZHPSCk8SuD54o4JPkT3u+0pcu+0A66AftIb1zsJUFYw3OSMpk wzkXAS9ooNCT3atLZJBRpgMvmmd+w/odg5/ezMbWNgGJBCTjlZKTS3QEnVIo/HEIj3 HjkDrqgTCwYxA== |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 26 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Linux-Next Mailing List <linux-next@vger.kernel.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Colin Ian King <colin.king@canonical.com> |
| X-Original-Date | Thu, 7 Sep 2017 12:31:32 +1000 |
| X-Original-Message-ID | <20170907123132.1fef5ca8@canb.auug.org.au> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1727877 |
Show key headers only | View raw
Hi Jarkko,
After merging the tpmdd tree, today's linux-next build (x86_64
allmodconfig) produced this warning:
drivers/char/tpm/tpm_tis_core.c: In function 'probe_itpm':
drivers/char/tpm/tpm_tis_core.c:469:31: warning: passing argument 2 of 'tpm_tis_send_data' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
rc = tpm_tis_send_data(chip, cmd_getticks, len);
^
drivers/char/tpm/tpm_tis_core.c:255:12: note: expected 'u8 * {aka unsigned char *}' but argument is of type 'const u8 * {aka const unsigned char *}'
static int tpm_tis_send_data(struct tpm_chip *chip, u8 *buf, size_t len)
^
drivers/char/tpm/tpm_tis_core.c:477:31: warning: passing argument 2 of 'tpm_tis_send_data' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
rc = tpm_tis_send_data(chip, cmd_getticks, len);
^
drivers/char/tpm/tpm_tis_core.c:255:12: note: expected 'u8 * {aka unsigned char *}' but argument is of type 'const u8 * {aka const unsigned char *}'
static int tpm_tis_send_data(struct tpm_chip *chip, u8 *buf, size_t len)
^
Introduced by commit
5e35bd8e06b9 ("tpm_tis: make array cmd_getticks static const to shink object code size")
--
Cheers,
Stephen Rothwell
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
linux-next: build warning after merge of the tpmdd tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-09-07 04:40 +0200
Re: linux-next: build warning after merge of the tpmdd tree Colin Ian King <colin.king@canonical.com> - 2017-09-07 10:50 +0200
Re: linux-next: build warning after merge of the tpmdd tree Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> - 2017-09-07 18:30 +0200
csiph-web