summaryrefslogtreecommitdiff
path: root/fs/btrfs/space-info.h
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2021-01-22 15:21:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-04 01:28:40 +0300
commit767c8777ce9cbccf8887bbe92d123bf6308285eb (patch)
tree88d7bda010684a8e8ba0cecfa41934a4f7aef0bd /fs/btrfs/space-info.h
parent6975f470ca5dc1f4215b51caf19708f0ff1134c3 (diff)
downloadlinux-767c8777ce9cbccf8887bbe92d123bf6308285eb.tar.xz
drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[]
commit 680896556805d3ad3fa47f6002b87b3041a45ac2 upstream. of_match_node() calls __of_match_node() which loops though the entries of matches array. It stops when condition: (matches->name[0] || matches->type[0] || matches->compatible[0]) is false. Thus, add a null entry at the end of at91_soc_allowed_list[] array. Fixes: caab13b49604 ("drivers: soc: atmel: Avoid calling at91_soc_init on non AT91 SoCs") Cc: stable@vger.kernel.org #4.12+ Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/btrfs/space-info.h')
0 files changed, 0 insertions, 0 deletions