On 24/10/2023 14:35, Akram Ahmad wrote:
[...] +static inline struct mmc_ioc_cmd __user *get_ith_mmc_ioc_cmd_uptr(
- struct mmc_ioc_multi_cmd __user *user,
- unsigned int i)
+{
- if (in_compat64())
return (struct mmc_ioc_cmd __user *)&((struct compat_mmc_ioc_multi_cmd __user *)(user))->cmds[i];
Can get rid of the parentheses around user, just to reduce the bracket-fest a bit...
Kevin