Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

zorro: Don't fill in dummy names in zorro_name_device()

If the device is not found in the database, it's not needed to fill in
a dummy name. The caller of zorro_name_device() has already taken care
of that to support CONFIG_ZORRO_NAMES=n.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

-1
-1
drivers/zorro/names.c
··· 69 69 } while (--i); 70 70 71 71 /* Couldn't find either the manufacturer nor the product */ 72 - sprintf(name, "Zorro device %08x", dev->id); 73 72 return; 74 73 75 74 match_manuf: {