Re: [PATCH] ata: ep93xx: Use proper enums for directions

2018-10-04 Thread Jens Axboe
On 10/3/18 8:37 PM, Nathan Chancellor wrote: > Clang warns when one enumerated type is implicitly converted to another. > > drivers/ata/pata_ep93xx.c:662:36: warning: implicit conversion from > enumeration type 'enum dma_data_direction' to different enumeration type > 'enum

Re: [PATCH] ata: ep93xx: Use proper enums for directions

2018-10-04 Thread Jens Axboe
On 10/3/18 8:37 PM, Nathan Chancellor wrote: > Clang warns when one enumerated type is implicitly converted to another. > > drivers/ata/pata_ep93xx.c:662:36: warning: implicit conversion from > enumeration type 'enum dma_data_direction' to different enumeration type > 'enum

Re: [PATCH] ata: ep93xx: Use proper enums for directions

2018-10-04 Thread Bartlomiej Zolnierkiewicz
On 10/04/2018 04:37 AM, Nathan Chancellor wrote: > Clang warns when one enumerated type is implicitly converted to another. > > drivers/ata/pata_ep93xx.c:662:36: warning: implicit conversion from > enumeration type 'enum dma_data_direction' to different enumeration type > 'enum

Re: [PATCH] ata: ep93xx: Use proper enums for directions

2018-10-04 Thread Bartlomiej Zolnierkiewicz
On 10/04/2018 04:37 AM, Nathan Chancellor wrote: > Clang warns when one enumerated type is implicitly converted to another. > > drivers/ata/pata_ep93xx.c:662:36: warning: implicit conversion from > enumeration type 'enum dma_data_direction' to different enumeration type > 'enum

[PATCH] ata: ep93xx: Use proper enums for directions

2018-10-03 Thread Nathan Chancellor
Clang warns when one enumerated type is implicitly converted to another. drivers/ata/pata_ep93xx.c:662:36: warning: implicit conversion from enumeration type 'enum dma_data_direction' to different enumeration type 'enum dma_transfer_direction' [-Wenum-conversion]

[PATCH] ata: ep93xx: Use proper enums for directions

2018-10-03 Thread Nathan Chancellor
Clang warns when one enumerated type is implicitly converted to another. drivers/ata/pata_ep93xx.c:662:36: warning: implicit conversion from enumeration type 'enum dma_data_direction' to different enumeration type 'enum dma_transfer_direction' [-Wenum-conversion]