summaryrefslogtreecommitdiff
path: root/io_uring/poll.c
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-10-14 04:48:16 +0300
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-10-18 02:02:14 +0300
commit26d9f48d9981205a7e229e21e183dbf1f13de83e (patch)
tree2cd5ed863535329ca91c3f8cb27edb4344a9592d /io_uring/poll.c
parente8fbdf1855f7f31a8f37df60d7be44d8aabe6288 (diff)
downloadlinux-26d9f48d9981205a7e229e21e183dbf1f13de83e.tar.xz
ata: ahci_imx: Fix compilation warning
When compiling with clang and W=1, the following warning is generated: drivers/ata/ahci_imx.c:1070:18: error: cast to smaller integer type 'enum ahci_imx_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast] imxpriv->type = (enum ahci_imx_type)of_id->data; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fix this by using a cast to unsigned long to match the "void *" type size of of_id->data. Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'io_uring/poll.c')
0 files changed, 0 insertions, 0 deletions