[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <mvmzg8vlcfk.fsf@suse.de>
Date: Thu, 02 Mar 2023 10:39:27 +0100
From: Andreas Schwab <schwab@...e.de>
To: Xingyu Wu <xingyu.wu@...rfivetech.com>
Cc: <linux-riscv@...ts.infradead.org>, <devicetree@...r.kernel.org>,
"Daniel Lezcano" <daniel.lezcano@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>,
Philipp Zabel <p.zabel@...gutronix.de>,
Samin Guo <samin.guo@...rfivetech.com>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1 2/3] clocksource: Add StarFive timer driver
drivers/clocksource/timer-starfive.c:117:13: error: conflicting types for 'timer_shutdown'; have 'void(struct starfive_clkevt *)'
117 | static void timer_shutdown(struct starfive_clkevt *clkevt)
| ^~~~~~~~~~~~~~
In file included from ./include/linux/workqueue.h:9,
from ./include/linux/srcu.h:21,
from ./include/linux/notifier.h:16,
from ./include/linux/clk.h:14,
from drivers/clocksource/timer-starfive.c:12:
./include/linux/timer.h:188:12: note: previous declaration of 'timer_shutdown' with type 'int(struct timer_list *)'
188 | extern int timer_shutdown(struct timer_list *timer);
| ^~~~~~~~~~~~~~
--
Andreas Schwab, SUSE Labs, schwab@...e.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
Powered by blists - more mailing lists