Re: [patch] xhci: testing sizeof xhci_doorbell_array 2 time

From: Sarah Sharp
Date: Mon May 07 2012 - 20:26:41 EST


Hi Girish,

Although this is a pretty trivial change, can you please Cc the
maintainer of the driver (me, for the xHCI driver) next time? Either
check the MAINTAINERS file, or run scripts/get_maintainer.pl.

In any case, I see no problem with this patch. Greg's already taken it
anyway. :)

Thanks,
Sarah Sharp

On Sun, May 06, 2012 at 08:35:13PM +0530, girish verma wrote:
> Testing BUILD_BUG_ON xhci_doorbell_array structure 2 time, redundant statement
>
> Signed-off-by: Girish Verma <girish.gcet@xxxxxxxxx>
>
>  ---
> drivers/usb/host/xhci.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
> index 36641a7..cfcf733 100644
> --- a/drivers/usb/host/xhci.c
> +++ b/drivers/usb/host/xhci.c
> @@ -4090,7 +4090,6 @@ static int __init xhci_hcd_init(void)
> BUILD_BUG_ON(sizeof(struct xhci_intr_reg) != 8*32/8);
> /* xhci_run_regs has eight fields and embeds 128 xhci_intr_regs */
> BUILD_BUG_ON(sizeof(struct xhci_run_regs) != (8+8*128)*32/8);
> - BUILD_BUG_ON(sizeof(struct xhci_doorbell_array) != 256*32/8);
> return 0;
> unreg_pci:
> xhci_unregister_pci();
> --
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/