[PATCH master] video: bochs: pci: fix unterminated PCI device table

Sascha Hauer sha at pengutronix.de
Tue Apr 13 08:18:53 BST 2021


On Sat, Apr 10, 2021 at 12:48:07PM +0200, Ahmad Fatoum wrote:
> Like other device id tables across tree, the last element is expected to
> be zeroed to act as sentinel. Fix the omission.
> 
> Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
> ---
>  drivers/video/bochs/bochs_pci.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks

Sascha

> 
> diff --git a/drivers/video/bochs/bochs_pci.c b/drivers/video/bochs/bochs_pci.c
> index 28785e1c0667..39c4d1b662ab 100644
> --- a/drivers/video/bochs/bochs_pci.c
> +++ b/drivers/video/bochs/bochs_pci.c
> @@ -27,6 +27,7 @@ static int bochs_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent
>  static DEFINE_PCI_DEVICE_TABLE(bochs_pci_tbl) = {
>  	/* https://github.com/qemu/qemu/blob/master/docs/specs/standard-vga.txt */
>  	{ PCI_DEVICE(0x1234, 0x1111) },
> +	{ },
>  };
>  
>  static struct pci_driver bochs_pci_driver = {
> -- 
> 2.30.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list