All of lore.kernel.org
 help / color / mirror / Atom feed
From: saiprakash.ranjan@codeaurora.org
To: Rishabh Bhatnagar <rishabhb@codeaurora.org>
Cc: linux-arm-kernel@lists.infradead.org,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	tsoni@codeaurora.org, kyan@codeaurora.org,
	ckadabi@codeaurora.org, stanimir.varbanov@linaro.org,
	evgreen@chromium.org, linux-kernel@vger.kernel.org,
	linux-arm@lists.infradead.orgevgreen@chromium.org
Subject: Re: [PATCH v4 2/2] drivers: soc: Add LLCC driver
Date: Mon, 16 Apr 2018 22:50:10 +0530	[thread overview]
Message-ID: <2ca31c0ffd699d0aea13d09a3b2be0a8@codeaurora.org> (raw)
In-Reply-To: <1523390893-10904-3-git-send-email-rishabhb@codeaurora.org>

Hi Rishabh,

> +MODULE_DESCRIPTION("QTI sdm845 LLCC driver");

I think it should be QCOM or Qualcomm and not QTI

> +
> +	desc = devm_kzalloc(dev, sizeof(struct llcc_slice_desc), GFP_KERNEL);

Can use *desc instead

> +struct llcc_slice_desc *llcc_slice_getd(struct device *dev, const char 
> *name)
> +{
> +	struct device_node *np = dev->of_node;
> +	int index = 0;
> +	const char *slice_name;
> +	struct property *prop;
> +
> +	if (!np)
> +		return ERR_PTR(-ENOENT);

Is this check required?

> diff --git a/include/linux/soc/qcom/llcc-qcom.h
> b/include/linux/soc/qcom/llcc-qcom.h
> new file mode 100644
> index 0000000..3e97569
> --- /dev/null
> +++ b/include/linux/soc/qcom/llcc-qcom.h
> @@ -0,0 +1,168 @@
> +// SPDX-License-Identifier: GPL-2.0

Should be within /* */ for headers as per kernel licensing rules.

Regards,
Sai Prakash

WARNING: multiple messages have this Message-ID (diff)
From: saiprakash.ranjan@codeaurora.org
To: Rishabh Bhatnagar <rishabhb@codeaurora.org>
Cc: linux-arm-kernel@lists.infradead.org,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	tsoni@codeaurora.org, kyan@codeaurora.org,
	ckadabi@codeaurora.org, stanimir.varbanov@linaro.org,
	evgreen@chromium.org, linux-kernel@vger.kernel.org,
	linux-arm@lists.infradead.org, evgreen@chromium.org
Subject: Re: [PATCH v4 2/2] drivers: soc: Add LLCC driver
Date: Mon, 16 Apr 2018 22:50:10 +0530	[thread overview]
Message-ID: <2ca31c0ffd699d0aea13d09a3b2be0a8@codeaurora.org> (raw)
In-Reply-To: <1523390893-10904-3-git-send-email-rishabhb@codeaurora.org>

Hi Rishabh,

> +MODULE_DESCRIPTION("QTI sdm845 LLCC driver");

I think it should be QCOM or Qualcomm and not QTI

> +
> +	desc = devm_kzalloc(dev, sizeof(struct llcc_slice_desc), GFP_KERNEL);

Can use *desc instead

> +struct llcc_slice_desc *llcc_slice_getd(struct device *dev, const char 
> *name)
> +{
> +	struct device_node *np = dev->of_node;
> +	int index = 0;
> +	const char *slice_name;
> +	struct property *prop;
> +
> +	if (!np)
> +		return ERR_PTR(-ENOENT);

Is this check required?

> diff --git a/include/linux/soc/qcom/llcc-qcom.h
> b/include/linux/soc/qcom/llcc-qcom.h
> new file mode 100644
> index 0000000..3e97569
> --- /dev/null
> +++ b/include/linux/soc/qcom/llcc-qcom.h
> @@ -0,0 +1,168 @@
> +// SPDX-License-Identifier: GPL-2.0

Should be within /* */ for headers as per kernel licensing rules.

Regards,
Sai Prakash

WARNING: multiple messages have this Message-ID (diff)
From: saiprakash.ranjan@codeaurora.org (saiprakash.ranjan at codeaurora.org)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 2/2] drivers: soc: Add LLCC driver
Date: Mon, 16 Apr 2018 22:50:10 +0530	[thread overview]
Message-ID: <2ca31c0ffd699d0aea13d09a3b2be0a8@codeaurora.org> (raw)
In-Reply-To: <1523390893-10904-3-git-send-email-rishabhb@codeaurora.org>

Hi Rishabh,

> +MODULE_DESCRIPTION("QTI sdm845 LLCC driver");

I think it should be QCOM or Qualcomm and not QTI

> +
> +	desc = devm_kzalloc(dev, sizeof(struct llcc_slice_desc), GFP_KERNEL);

Can use *desc instead

> +struct llcc_slice_desc *llcc_slice_getd(struct device *dev, const char 
> *name)
> +{
> +	struct device_node *np = dev->of_node;
> +	int index = 0;
> +	const char *slice_name;
> +	struct property *prop;
> +
> +	if (!np)
> +		return ERR_PTR(-ENOENT);

Is this check required?

> diff --git a/include/linux/soc/qcom/llcc-qcom.h
> b/include/linux/soc/qcom/llcc-qcom.h
> new file mode 100644
> index 0000000..3e97569
> --- /dev/null
> +++ b/include/linux/soc/qcom/llcc-qcom.h
> @@ -0,0 +1,168 @@
> +// SPDX-License-Identifier: GPL-2.0

Should be within /* */ for headers as per kernel licensing rules.

Regards,
Sai Prakash

  parent reply	other threads:[~2018-04-16 17:20 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-10 20:08 [PATCH v4 0/2] SDM845 System Cache Driver Rishabh Bhatnagar
2018-04-10 20:08 ` Rishabh Bhatnagar
2018-04-10 20:08 ` [PATCH v4 1/2] Documentation: Documentation for qcom, llcc Rishabh Bhatnagar
2018-04-10 20:08   ` Rishabh Bhatnagar
2018-04-12 22:07   ` Evan Green
2018-04-12 22:07     ` Evan Green
2018-04-16 14:59   ` Rob Herring
2018-04-16 14:59     ` Rob Herring
2018-04-17 17:43     ` rishabhb
2018-04-17 17:43       ` rishabhb at codeaurora.org
2018-04-17 22:12       ` rishabhb
2018-04-17 22:12         ` rishabhb at codeaurora.org
2018-04-18 14:52         ` Rob Herring
2018-04-18 14:52           ` Rob Herring
2018-04-18 18:11           ` Channa
2018-04-18 18:11             ` Channa
2018-04-20 18:51             ` Channa
2018-04-20 18:51               ` Channa
2018-04-10 20:08 ` [PATCH v4 2/2] drivers: soc: Add LLCC driver Rishabh Bhatnagar
2018-04-10 20:08   ` Rishabh Bhatnagar
2018-04-10 20:31   ` Jordan Crouse
2018-04-10 20:31     ` Jordan Crouse
2018-04-12 22:02   ` Evan Green
2018-04-12 22:02     ` Evan Green
2018-04-13 23:08     ` rishabhb
2018-04-13 23:08       ` rishabhb at codeaurora.org
2018-04-16 17:14       ` Evan Green
2018-04-16 17:14         ` Evan Green
2018-04-16 20:50         ` rishabhb
2018-04-16 20:50           ` rishabhb at codeaurora.org
2018-04-16 17:20   ` saiprakash.ranjan [this message]
2018-04-16 17:20     ` saiprakash.ranjan at codeaurora.org
2018-04-16 17:20     ` saiprakash.ranjan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2ca31c0ffd699d0aea13d09a3b2be0a8@codeaurora.org \
    --to=saiprakash.ranjan@codeaurora.org \
    --cc=ckadabi@codeaurora.org \
    --cc=devicetree@vger.kernel.org \
    --cc=evgreen@chromium.org \
    --cc=kyan@codeaurora.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-arm@lists.infradead.orgevgreen \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rishabhb@codeaurora.org \
    --cc=stanimir.varbanov@linaro.org \
    --cc=tsoni@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.