[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190827133611.GE23584@kadam>
Date: Tue, 27 Aug 2019 16:36:11 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: devel@...verdev.osuosl.org, greybus-dev@...ts.linaro.org,
elder@...nel.org, johan@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/9] staging: move greybus core out of staging
I can't compile greybus so it's hard to run Smatch on it... I have a
Smatch thing which ignores missing includes and just tries its best.
It mostly generates garbage output but a couple of these look like
potential issues:
drivers/staging/greybus/operation.c:379 gb_operation_message_alloc() warn: check 'message_size' for integer overflows 'kzalloc()'
drivers/staging/greybus/light.c:1256 gb_lights_request_handler() warn: 'light->channels' double freed
drivers/staging/greybus/light.c:1256 gb_lights_request_handler() warn: 'light->name' double freed
regards,
dan carpenter
Powered by blists - more mailing lists