一、前言 对比两个struct或者map,slice是否相等是大家经常会有的需求,想必大家也都接触过很多对比的方式,比如==,reflect.DeepEqual(),cmp.Equal()等。 这么多种对比方式,适用场景和优缺点都有哪些呢?为什么可以用==,有的却不可以呢?除了这三个,还有其他的方式可以判断相等吗?问题多多,且一起研究研究。 二
+++ b/drivers/media/platform/s5p-fimc/mipi-csis.c @@ -187,7 +187,7 @@ struct csis_state { const struct csis_pix_format *csis_fmt; struct v4l2_mbus_framefmt format; - struct spinlock slock; + spinlock_t slock; struct csis_pktbuf pkt_buf; struct s5pcsis_event events[S5PCSIS...
-struct vpfe_pixel_format { - struct v4l2_fmtdesc fmtdesc; - /* bytes per pixel */ - int bpp; -}; - struct vpfe_std_info { int active_pixels; int active_lines; Previous message View by thread View by date Next message [PATCH] am437x: remove unused struct vpfe_pixel_format Hans ...
Thank you for the patch.