mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Russell King - ARM Linux <linux@armlinux.org.uk>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Sven Schmidt <4sschmid@informatik.uni-hamburg.de>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ARM: decompressor: add strlen prototype
Date: Mon, 30 Jan 2017 18:55:50 +0000	[thread overview]
Message-ID: <20170130185550.GG27312@n2100.armlinux.org.uk> (raw)
In-Reply-To: <20170125222442.1244908-1-arnd@arndb.de>

On Wed, Jan 25, 2017 at 11:24:33PM +0100, Arnd Bergmann wrote:
> The decompress.c file contains a declaration for strstr() so we can
> include some compression library code.
> 
> With the updated LZ4 implementation, we run into the same problem again
> for strlen():
> 
> In file included from ../include/linux/rcupdate.h:40:0,
>                  from ../include/linux/srcu.h:33,
>                  from ../include/linux/notifier.h:15,
>                  from ../include/linux/memory_hotplug.h:6,
>                  from ../include/linux/mmzone.h:749,
>                  from ../include/linux/gfp.h:5,
>                  from ../include/linux/kmod.h:22,
>                  from ../include/linux/module.h:13,
>                  from ../arch/arm/boot/compressed/../../../../lib/lz4/lz4_decompress.c:39,
>                  from ../arch/arm/boot/compressed/../../../../lib/decompress_unlz4.c:13,
>                  from ../arch/arm/boot/compressed/decompress.c:55:
> include/linux/cpumask.h: In function 'cpumask_parse':
> include/linux/cpumask.h:592:53: error: implicit declaration of function 'strlen';did you mean 'strstr'? [-Werror=implicit-function-declaration]
> 
> This adds another declaration to work around the new problem.
> 
> Fixes: ce83d9ab80d6 ("lib: update LZ4 compressor module")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Please put this in the patch system, thanks.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

      reply	other threads:[~2017-01-30 19:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-25 22:24 Arnd Bergmann
2017-01-30 18:55 ` Russell King - ARM Linux [this message]

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=20170130185550.GG27312@n2100.armlinux.org.uk \
    --to=linux@armlinux.org.uk \
    --cc=4sschmid@informatik.uni-hamburg.de \
    --cc=akpm@linux-foundation.org \
    --cc=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®