Re: False 'uninitialized symbol' messages in latest smatch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 11, 2022 at 02:22:53PM +0100, Hans Verkuil wrote:
> Hi Dan,
> 
> With the latest smatch I get a lot of 'uninitialized symbol' errors that
> all appear to be related to the use of the min/max/abs macros.
> 
> It's clearly seen here:
> 
> include/media/v4l2-rect.h:127 v4l2_rect_intersect() error: uninitialized symbol 'bottom'.
> include/media/v4l2-rect.h:128 v4l2_rect_intersect() error: uninitialized symbol 'right'.
> 
> drivers/media/usb/uvc/uvc_v4l2.c:445 uvc_v4l2_set_streamparm() error: uninitialized symbol 'maxd'.
> drivers/media/usb/uvc/uvc_v4l2.c:457 uvc_v4l2_set_streamparm() error: uninitialized symbol 'd'.
> 
> The logs of my daily media build from last night are here:
> 
> https://hverkuil.home.xs4all.nl/logs/Friday.log 
> 
> Too many of these appear to be incorrect errors.

Sorry, about that!  I've pushed a fix for it now.

regards,
dan carpenter



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux