Re: [PATCH] mtd: rawnand: Use proper enum for flctl_dma_fifo0_transfer

2018-09-23 Thread Miquel Raynal
Hi Nathan, Nathan Chancellor wrote on Thu, 20 Sep 2018 16:30:25 -0700: > Clang warns when one enumerated type is converted implicitly to another: > > drivers/mtd/nand/raw/sh_flctl.c:483:46: warning: implicit conversion > from enumeration type 'enum dma_transfer_direction' to different > enumera

Re: [PATCH] mtd: rawnand: Use proper enum for flctl_dma_fifo0_transfer

2018-09-21 Thread Nick Desaulniers
On Thu, Sep 20, 2018 at 4:31 PM Nathan Chancellor wrote: > > Clang warns when one enumerated type is converted implicitly to another: > > drivers/mtd/nand/raw/sh_flctl.c:483:46: warning: implicit conversion > from enumeration type 'enum dma_transfer_direction' to different > enumeration type 'enum

[PATCH] mtd: rawnand: Use proper enum for flctl_dma_fifo0_transfer

2018-09-20 Thread Nathan Chancellor
Clang warns when one enumerated type is converted implicitly to another: drivers/mtd/nand/raw/sh_flctl.c:483:46: warning: implicit conversion from enumeration type 'enum dma_transfer_direction' to different enumeration type 'enum dma_data_direction' [-Wenum-conversion] flctl_dma_fi