On Fri, Oct 07 2022 at 19:41 -0700, Daejun Park wrote:
Hi Asutosh Das,Define the mcq resources and add support to ioremap
[...]
+ res->base = devm_ioremap_resource(hba->dev, res->resource); + if (IS_ERR(res->base)) { + dev_err(hba->dev, "Failed to map res %s, err=%d\n", + res->name, (int)PTR_ERR(res->base)); + res->base = NULL; + ret = PTR_ERR(res->base);I think res->base has already NULL value.
Thanks, I will fix it.
Thanks, Daejun