2013/5/14 Laurent Navet <laurent.na...@gmail.com>:
> struct resource *res)
>  {
> ...
>          if (!res || resource_type(res) != IORESOURCE_MEM) {
>                  dev_err(dev, "invalid resource\n");
>                  return ERR_PTR(-EINVAL);

Okay, thanks.
Acked
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to