From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Wolfram Sang <wsa@the-dreams•de>
Cc: linux-next@vger•kernel.org, linux-kernel@vger•kernel.org,
Max Schwarz <max.schwarz@online•de>,
Doug Anderson <dianders@chromium•org>
Subject: linux-next: build failure after merge of the i2c tree
Date: Mon, 24 Nov 2014 20:16:04 +1100 [thread overview]
Message-ID: <20141124201604.51aa3a82@canb.auug.org.au> (raw)
[-- Attachment #1: Type: text/plain, Size: 3033 bytes --]
Hi Wolfram,
After merging the i2c tree, today's linux-next build (powerpc
allyesconfig) failed like this:
drivers/i2c/busses/i2c-rk3x.c: In function 'rk3x_i2c_clk_notifier_cb':
drivers/i2c/busses/i2c-rk3x.c:634:7: error: 'PRE_RATE_CHANGE' undeclared (first use in this function)
case PRE_RATE_CHANGE:
^
drivers/i2c/busses/i2c-rk3x.c:634:7: note: each undeclared identifier is reported only once for each function it appears in
drivers/i2c/busses/i2c-rk3x.c:635:31: error: dereferencing pointer to incomplete type
if (rk3x_i2c_calc_divs(ndata->new_rate, i2c->scl_frequency,
^
drivers/i2c/busses/i2c-rk3x.c:641:12: error: dereferencing pointer to incomplete type
if (ndata->new_rate > ndata->old_rate)
^
drivers/i2c/busses/i2c-rk3x.c:641:30: error: dereferencing pointer to incomplete type
if (ndata->new_rate > ndata->old_rate)
^
drivers/i2c/busses/i2c-rk3x.c:642:33: error: dereferencing pointer to incomplete type
rk3x_i2c_adapt_div(i2c, ndata->new_rate);
^
drivers/i2c/busses/i2c-rk3x.c:645:7: error: 'POST_RATE_CHANGE' undeclared (first use in this function)
case POST_RATE_CHANGE:
^
drivers/i2c/busses/i2c-rk3x.c:647:12: error: dereferencing pointer to incomplete type
if (ndata->new_rate < ndata->old_rate)
^
drivers/i2c/busses/i2c-rk3x.c:647:30: error: dereferencing pointer to incomplete type
if (ndata->new_rate < ndata->old_rate)
^
drivers/i2c/busses/i2c-rk3x.c:648:33: error: dereferencing pointer to incomplete type
rk3x_i2c_adapt_div(i2c, ndata->new_rate);
^
drivers/i2c/busses/i2c-rk3x.c:650:7: error: 'ABORT_RATE_CHANGE' undeclared (first use in this function)
case ABORT_RATE_CHANGE:
^
drivers/i2c/busses/i2c-rk3x.c:652:12: error: dereferencing pointer to incomplete type
if (ndata->new_rate > ndata->old_rate)
^
drivers/i2c/busses/i2c-rk3x.c:652:30: error: dereferencing pointer to incomplete type
if (ndata->new_rate > ndata->old_rate)
^
drivers/i2c/busses/i2c-rk3x.c:653:33: error: dereferencing pointer to incomplete type
rk3x_i2c_adapt_div(i2c, ndata->old_rate);
^
drivers/i2c/busses/i2c-rk3x.c: In function 'rk3x_i2c_probe':
drivers/i2c/busses/i2c-rk3x.c:941:2: error: implicit declaration of function 'clk_notifier_register' [-Werror=implicit-function-declaration]
ret = clk_notifier_register(i2c->clk, &i2c->clk_rate_nb);
^
drivers/i2c/busses/i2c-rk3x.c:961:2: error: implicit declaration of function 'clk_notifier_unregister' [-Werror=implicit-function-declaration]
clk_notifier_unregister(i2c->clk, &i2c->clk_rate_nb);
^
Caused by commit 5a6f1566f6a0 ("i2c: rk3x: handle dynamic clock rate
changes correctly").
I have reverted that commit for today.
--
Cheers,
Stephen Rothwell sfr@canb•auug.org.au
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next reply other threads:[~2014-11-24 9:16 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-24 9:16 Stephen Rothwell [this message]
2014-11-24 9:24 ` linux-next: build failure after merge of the i2c tree Wolfram Sang
-- strict thread matches above, loose matches on Subject: below --
2022-10-04 0:20 Stephen Rothwell
2022-10-04 6:22 ` Uwe Kleine-König
2022-10-05 23:05 ` Stephen Rothwell
2021-06-01 0:32 Stephen Rothwell
2021-06-01 8:55 ` Wolfram Sang
2021-06-01 9:09 ` Hsin-Yi Wang
2021-06-01 9:21 ` Wolfram Sang
2017-11-28 0:02 Stephen Rothwell
2017-11-28 9:53 ` Wolfram Sang
2017-06-26 1:09 Stephen Rothwell
2017-06-26 2:04 ` Shawn Guo
2015-12-16 4:48 Stephen Rothwell
2016-01-04 23:55 ` Stephen Rothwell
2016-01-05 1:04 ` Wolfram Sang
2015-08-25 0:51 Stephen Rothwell
2015-08-26 0:01 ` Dmitry Torokhov
2015-01-16 2:22 Stephen Rothwell
2015-01-16 7:16 ` Pantelis Antoniou
2013-11-17 23:29 Stephen Rothwell
2011-05-19 3:27 Stephen Rothwell
2011-05-19 9:06 ` Jean Delvare
2010-06-21 2:03 Stephen Rothwell
2010-06-21 5:57 ` Jean Delvare
2010-06-21 7:09 ` Stephen Rothwell
2010-03-01 2:12 Stephen Rothwell
2010-03-01 10:43 ` Jean Delvare
2010-03-02 0:31 ` Stephen Rothwell
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=20141124201604.51aa3a82@canb.auug.org.au \
--to=sfr@canb$(echo .)auug.org.au \
--cc=dianders@chromium$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=max.schwarz@online$(echo .)de \
--cc=wsa@the-dreams$(echo .)de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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