[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211129075314.GP18178@kadam>
Date: Mon, 29 Nov 2021 10:53:14 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Jeremy Kerr <jk@...econstruct.com.au>
Cc: kbuild@...ts.01.org, lkp@...el.com, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: Re: net/mctp/test/utils.c:15 mctp_test_dev_tx() error: use
kfree_skb() here instead of kfree(skb)
On Mon, Nov 29, 2021 at 10:24:15AM +0800, Jeremy Kerr wrote:
> Hi Dan,
>
> > smatch warnings:
> > net/mctp/test/utils.c:15 mctp_test_dev_tx() error: use kfree_skb() here instead of kfree(skb)
>
> Thanks for the report! I've sent a fix, you're CCed.
>
> However, I can 't seem to recreate the smatch warning; could you include
> the build command you're using for these? I've tried with
>
> make [...] C=1 CHECK=/path/to/smatch
The CHECK= string needs a -p=kernel added to it or it won't do kernel
specific checking.
make [...] C=1 CHECK="/path/to/smatch -p=kernel"
regards,
dan carpenter
Powered by blists - more mailing lists