From: Dan Carpenter <dan.carpenter@linaro.org>
To: Chris Packham <chris.packham@alliedtelesis.co.nz>
Cc: Simon Horman <horms@kernel.org>, linux-kernel@vger.kernel.org
Subject: Re: smatch usage (was Re: [PATCH v2 4/4] net: mdio: Add RTL9300 MDIO driver)
Date: Wed, 18 Dec 2024 17:27:56 +0300 [thread overview]
Message-ID: <f37af3d9-84b5-4d53-ae07-3f3ff020460a@stanley.mountain> (raw)
In-Reply-To: <0986f65a-ff1c-4ba4-9bae-de3972794bc3@alliedtelesis.co.nz>
On Wed, Dec 18, 2024 at 09:39:41AM +1300, Chris Packham wrote:
> > I wasn't able to use O=... with the kchecker script but if I call make
> > directly then it works for me:
> >
> > make O=/home/dcarpenter/progs/kernel/build/build_smatch/ allyesconfig
> > make O=/home/dcarpenter/progs/kernel/build/build_smatch/ C=2 'CHECK= /home/dcarpenter/progs/smatch/release/smatch_scripts/../smatch --project=kernel --succeed ' drivers/net/mdio/mdio-realtek-rtl.o
> >
> > regards,
> > dan carpenter
>
> Hi Dan,
>
> I think the problem was I had libsqilite3-dev installed but not sqlite3. I
> rebuilt smatch after installing the sqlite3 package and now my original
> incantation works as well as your one above.
>
That's so weird. The sqlite3 requirement was only intended for if you
build the cross function DB. The scripts to build the DB are a mix of
Perl and shell.
Anyway, good that it's working now.
regards,
dan carpenter
next prev parent reply other threads:[~2024-12-18 14:28 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-16 3:13 [PATCH v2 0/4] RTL9300 MDIO driver Chris Packham
2024-12-16 3:13 ` [PATCH v2 1/4] dt-bindings: net: Add Realtek MDIO controller Chris Packham
2024-12-16 18:52 ` Conor Dooley
2024-12-16 19:57 ` Chris Packham
2024-12-16 3:13 ` [PATCH v2 2/4] dt-bindings: mfd: Add MDIO interface to rtl9301-switch Chris Packham
2024-12-16 18:53 ` Conor Dooley
2024-12-16 19:36 ` Chris Packham
2024-12-17 15:07 ` (subset) " Lee Jones
2024-12-19 20:49 ` Chris Packham
2024-12-23 10:08 ` Lee Jones
2024-12-16 3:13 ` [PATCH v2 3/4] mips: dts: realtek: Add MDIO controller Chris Packham
2024-12-16 3:13 ` [PATCH v2 4/4] net: mdio: Add RTL9300 MDIO driver Chris Packham
2024-12-16 16:48 ` Simon Horman
2024-12-16 21:47 ` Chris Packham
2024-12-17 10:35 ` Simon Horman
2024-12-17 19:40 ` smatch usage (was Re: [PATCH v2 4/4] net: mdio: Add RTL9300 MDIO driver) Chris Packham
2024-12-17 20:07 ` Dan Carpenter
2024-12-17 20:39 ` Chris Packham
2024-12-18 14:27 ` Dan Carpenter [this message]
2024-12-19 4:46 ` [PATCH v2 4/4] net: mdio: Add RTL9300 MDIO driver Luiz Angelo Daros de Luca
2024-12-19 9:40 ` Andrew Lunn
2024-12-19 20:36 ` Chris Packham
2024-12-20 5:11 ` Luiz Angelo Daros de Luca
2024-12-19 20:50 ` Chris Packham
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=f37af3d9-84b5-4d53-ae07-3f3ff020460a@stanley.mountain \
--to=dan.carpenter@linaro.org \
--cc=chris.packham@alliedtelesis.co.nz \
--cc=horms@kernel.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®