media: fimc-is-sysfs: silence Wsizeof-array-div
authorAnan Jaser <ananjaser@gmail.com>
Tue, 22 Sep 2020 20:50:20 +0000 (00:50 +0400)
committerivanmeler <i_ivan@windowslive.com>
Wed, 13 Apr 2022 21:14:07 +0000 (21:14 +0000)
commit54d26a575ac6eca8e44e865cb5e2958d49037493
tree0cb12f8fddbb0857b90c4ad4dc3406d186739a1e
parentc9178b2dfb1c6d04daffd226f9abf501e8ce85d4
media: fimc-is-sysfs: silence Wsizeof-array-div

drivers/media/platform/exynos/fimc-is2/vendor/mcd/fimc-is-sysfs.c:248:40: error: expression does not compute the number of elements in this arr
ay; element type is 'struct ssrm_camera_data', not 'int' [-Werror,-Wsizeof-array-div]
        if (ret_count > sizeof(SsrmCameraInfo)/sizeof(int))

Change-Id: I2f3b33c7c1951cfa316a9cc59d87308564ffbd93
drivers/media/platform/exynos/fimc-is2/vendor/mcd/fimc-is-sysfs.c