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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxx
> 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 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux