Re: [PATCH 01/11] PCI: make bitfields unsigned

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

 



On Fri, 30 Apr 2010, Bill Pemberton wrote:

> Fix sparse warnings:
> 
> drivers/pci/pci.h:247:25: error: dubious one-bit signed bitfield
> 
> Signed-off-by: Bill Pemberton <wfp5p@xxxxxxxxxxxx>
> CC: linux-pci@xxxxxxxxxxxxxxx
> ---
>  drivers/pci/pci.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
> index 4eb10f4..f8077b3 100644
> --- a/drivers/pci/pci.h
> +++ b/drivers/pci/pci.h
> @@ -244,7 +244,7 @@ struct pci_ats {
>  	int stu;	/* Smallest Translation Unit */
>  	int qdep;	/* Invalidate Queue Depth */
>  	int ref_cnt;	/* Physical Function reference count */
> -	int is_enabled:1;	/* Enable bit is set */
> +	unsigned int is_enabled:1;	/* Enable bit is set */
>  };

This doesn't seem to be picked up as per today's linux-next. I have 
applied the patch to my queue.

-- 
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux