pci: remove magic number, 256 in pci.c
This patch replaces magic number, 256, with ARRAY_SIZE(). Signed-off-by: NIsaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
Showing
想要评论请 注册 或 登录
This patch replaces magic number, 256, with ARRAY_SIZE(). Signed-off-by: NIsaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>