Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1507104
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Geert Uytterhoeven <geert@linux-m68k.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] Staging:board:board: fix implicit declaration of function |
| Date | Mon, 24 Oct 2016 13:20:01 +0200 |
| Message-ID | <svLsl-6Te-9@gated-at.bofh.it> (permalink) |
| References | <svybL-65C-1@gated-at.bofh.it> <svKZj-6tF-7@gated-at.bofh.it> |
| X-Original-To | Dan Carpenter <dan.carpenter@oracle.com> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=Q62hBhijj6yaL/nph2jbGM4YQ6C5tXq9iFGAAMhZsL0=; b=i73ogCPTrwErA+5sOTdboffKRNjUnFo1q2ADe7VrZwVj9K2jzDglmq7toLU/LC3OY3 dFLo/R/QmxLJ6x6enbiGkRfXXdhMRhu7HXEcgpbdQzhzaW0cCvk7f2JpkWCGCmA683zh QebJLs59ZPrYDFHRMR5INlkxxrYAG9Y530WYeeB6ERL2o/J5n3SXlT0RQmmkvKac9FEg s6fnOLdg57RPHjkXi4P+qoqZZc+YgyH1lQub0eCUyEDccZuAIMI4A/scuuobi73kmTlF k5N0vq1ME+K7MSh8xzxg8LpCLVoNPCsqCeckO4zcfnf/1Xi0l+LnUnnWY66giCGl8EtT wZIg== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=Q62hBhijj6yaL/nph2jbGM4YQ6C5tXq9iFGAAMhZsL0=; b=mBKNS3xjM7kW43yzCpQWiiYbOJnRwdAHv8prXkVe3QaZDXIrofbbilRdDJ3dV3iDrn QzYg1f33BbgFj76j7M6gxyTq4JSnWf2C1JmxaOBUqNDRlg29TVL7sbUvudPIIkuo5stD EKgOdikRW0PaG1aSyCF+1dxAEFkWhBWisOhUz3elWif+gP3ucD3lXA3mkluiZYc63MoK SZzxcgZJVayoyNoEZqHFcqahap+zbB/8t3NELV7VV0/+1oZxj2Skj7jWt+/wAR2sIbzq xYP+GQq1w/1hhS8Tyzu6xqqeRHlGNrtePR0NX7ZGgZrWpxv6ctzQiynuBV/SkYnHlX2l ifxw== |
| X-Gm-Message-State | ABUngveuVUHaeAFaY5o+Ly9+Vt0yQQp11qBV2z40k1CI7uQU/6XxDNj+L+Yy1WWDdvSbvDKJt4YVlMLXKwSCig== |
| X-Received | by 10.36.118.82 with SMTP id z79mr1590967itb.74.1477307502275; Mon, 24 Oct 2016 04:11:42 -0700 (PDT) |
| MIME-Version | 1.0 |
| X-Google-Sender-Auth | nPVAJBPBzXOVg49FJczim-NLFsg |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| 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 | 28 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Nadim Almas <nadim.902@gmail.com>, Greg KH <gregkh@linuxfoundation.org>, driverdevel <devel@driverdev.osuosl.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> |
| X-Original-Date | Mon, 24 Oct 2016 13:11:41 +0200 |
| X-Original-Message-ID | <CAMuHMdXZx7OYTQ2=E2mjTA6Ev3=oAHp3FZGtBfr8kf5HTg1jCA@mail.gmail.com> |
| X-Original-References | <20161023210526.GA14124@gmail.com> <20161024104655.GZ4469@mwanda> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1507104 |
Show key headers only | View raw
On Mon, Oct 24, 2016 at 12:46 PM, Dan Carpenter
<dan.carpenter@oracle.com> wrote:
> On Mon, Oct 24, 2016 at 02:35:26AM +0530, Nadim Almas wrote:
>> implicit declaration of function ‘of_find_all_nodes’ reported by sparse
>>
>
> No. Include the correct header file instead.
drivers/staging/board/board.c already includes <linux/of.h>, which provides
the prototype, but only if CONFIG_OF=y.
However, STAGING_BOARD depends on OF_ADDRESS and OF_IRQ,
which both depend on OF. So how can this happen??
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] Staging:board:board: fix implicit declaration of function Nadim Almas <nadim.902@gmail.com> - 2016-10-23 23:10 +0200
Re: [PATCH] Staging:board:board: fix implicit declaration of function Dan Carpenter <dan.carpenter@oracle.com> - 2016-10-24 12:50 +0200
Re: [PATCH] Staging:board:board: fix implicit declaration of function Geert Uytterhoeven <geert@linux-m68k.org> - 2016-10-24 13:20 +0200
csiph-web