realtek: fix gcc-12 build with -Werror=array-compare
authorBjørn Mork <bjorn@mork.no>
Sun, 19 Jun 2022 13:59:27 +0000 (15:59 +0200)
committerSander Vanheule <sander@svanheule.net>
Wed, 22 Jun 2022 16:37:40 +0000 (18:37 +0200)
commitd6eebaf99570aa6de0b10694fcb11ee8c0195d3c
tree1420cbd510b157945fd5e467d994bcfcf8bd9a8f
parentd9e12c21fa98c90d0cc355e344d90469c5fd42c1
realtek: fix gcc-12 build with -Werror=array-compare

Removing this gcc-12 error:

arch/mips/rtl838x/setup.c:64:30: error: comparison between two arrays [-Werror=array-compare]
   64 |         else if (__dtb_start != __dtb_end)

Signed-off-by: Bjørn Mork <bjorn@mork.no>
target/linux/realtek/files-5.10/arch/mips/rtl838x/setup.c