Hello Anurag Kumar Vulisha, The patch fe8365bbf8ac: "ata: ceva: Move sata port phy oob settings to device-tree" from Aug 21, 2017, leads to the following static checker warning: drivers/ata/ahci_ceva.c:273 ceva_ahci_probe() warn: passing casted pointer '&cevapriv->pp5c[1]' to 'of_property_read_u16_array()' 32 vs 16. drivers/ata/ahci_ceva.c 260 if (of_property_read_u8_array(np, "ceva,p1-burst-params", 261 (u8 *)&cevapriv->pp4c[1], 4) < 0) { 262 dev_warn(dev, "ceva,p1-burst-params property not defined\n"); 263 return -EINVAL; 264 } 265 266 /* Read phy RETRY interval timing value from device-tree */ 267 if (of_property_read_u16_array(np, "ceva,p0-retry-params", 268 (u16 *)&cevapriv->pp5c[0], 2) < 0) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 269 dev_warn(dev, "ceva,p0-retry-params property not defined\n"); 270 return -EINVAL; 271 } 272 273 if (of_property_read_u16_array(np, "ceva,p1-retry-params", 274 (u16 *)&cevapriv->pp5c[1], 2) < 0) { ^^^^^^^^^^^^^^^^^^^^^^^^^ I'm confused what's going on here. We're reading two arrays of u16 into an array of u32. Why are we not just reading 2 separate u32 values? Does this code have to work on big endian systems because I bet it doesn't. 275 dev_warn(dev, "ceva,p1-retry-params property not defined\n"); 276 return -EINVAL; 277 } 278 regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html