Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1245625 > unrolled thread

Re: [RFC PATCH] phy: exynos-ufs: exynos_ufs_phy_calibrate() can be static

Started byAlim Akhtar <alim.akhtar@samsung.com>
First post2015-10-13 13:50 +0200
Last post2015-10-13 16:40 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [RFC PATCH] phy: exynos-ufs: exynos_ufs_phy_calibrate() can be  static Alim Akhtar <alim.akhtar@samsung.com> - 2015-10-13 13:50 +0200
    Re: [RFC PATCH] phy: exynos-ufs: exynos_ufs_phy_calibrate() can be  static Kishon Vijay Abraham I <kishon@ti.com> - 2015-10-13 16:10 +0200
    Re: [kbuild-all] [RFC PATCH] phy: exynos-ufs:  exynos_ufs_phy_calibrate() can be static Fengguang Wu <lkp@intel.com> - 2015-10-13 16:40 +0200

#1245625 — Re: [RFC PATCH] phy: exynos-ufs: exynos_ufs_phy_calibrate() can be static

FromAlim Akhtar <alim.akhtar@samsung.com>
Date2015-10-13 13:50 +0200
SubjectRe: [RFC PATCH] phy: exynos-ufs: exynos_ufs_phy_calibrate() can be static
Message-ID<qj6fD-5t6-13@gated-at.bofh.it>
HI
How I am support to handle this patch? Should I just fix these warnings 
in my patch or I just add this as a separate patch on the top of the series?


On 10/01/2015 04:34 PM, kbuild test robot wrote:
>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
>   phy-exynos-ufs.c |    6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/phy/phy-exynos-ufs.c b/drivers/phy/phy-exynos-ufs.c
> index 343fcaf..835ee78 100644
> --- a/drivers/phy/phy-exynos-ufs.c
> +++ b/drivers/phy/phy-exynos-ufs.c
> @@ -66,7 +66,7 @@ static bool match_cfg_to_pwr_mode(u8 desc, u8 required_pwr)
>   	return false;
>   }
>
> -int exynos_ufs_phy_calibrate(struct phy *phy, enum phy_cfg_tag tag, u8 pwr)
> +static int exynos_ufs_phy_calibrate(struct phy *phy, enum phy_cfg_tag tag, u8 pwr)
>   {
>   	struct exynos_ufs_phy *ufs_phy = get_exynos_ufs_phy(phy);
>   	struct exynos_ufs_phy_cfg **cfgs = ufs_phy->cfg;
> @@ -93,14 +93,14 @@ out:
>   	return 0;
>   }
>
> -void exynos_ufs_phy_set_lane_cnt(struct phy *phy, u8 lane_cnt)
> +static void exynos_ufs_phy_set_lane_cnt(struct phy *phy, u8 lane_cnt)
>   {
>   	struct exynos_ufs_phy *ufs_phy = get_exynos_ufs_phy(phy);
>
>   	ufs_phy->lane_cnt = lane_cnt;
>   }
>
> -int exynos_ufs_phy_wait_for_lock_acq(struct phy *phy)
> +static int exynos_ufs_phy_wait_for_lock_acq(struct phy *phy)
>   {
>   	struct exynos_ufs_phy *ufs_phy = get_exynos_ufs_phy(phy);
>   	const unsigned int timeout_us = 100000;
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1245752

FromKishon Vijay Abraham I <kishon@ti.com>
Date2015-10-13 16:10 +0200
Message-ID<qj8r8-ok-19@gated-at.bofh.it>
In reply to#1245625
Hi,

On Tuesday 13 October 2015 05:08 PM, Alim Akhtar wrote:
> HI
> How I am support to handle this patch? Should I just fix these warnings
> in my patch or I just add this as a separate patch on the top of the
> series?

This series has not been merged yet. So you can fix this patch.

Thanks
Kishon
> 
> 
> On 10/01/2015 04:34 PM, kbuild test robot wrote:
>>
>> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
>> ---
>>   phy-exynos-ufs.c |    6 +++---
>>   1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/drivers/phy/phy-exynos-ufs.c b/drivers/phy/phy-exynos-ufs.c
>> index 343fcaf..835ee78 100644
>> --- a/drivers/phy/phy-exynos-ufs.c
>> +++ b/drivers/phy/phy-exynos-ufs.c
>> @@ -66,7 +66,7 @@ static bool match_cfg_to_pwr_mode(u8 desc, u8
>> required_pwr)
>>       return false;
>>   }
>>
>> -int exynos_ufs_phy_calibrate(struct phy *phy, enum phy_cfg_tag tag,
>> u8 pwr)
>> +static int exynos_ufs_phy_calibrate(struct phy *phy, enum phy_cfg_tag
>> tag, u8 pwr)
>>   {
>>       struct exynos_ufs_phy *ufs_phy = get_exynos_ufs_phy(phy);
>>       struct exynos_ufs_phy_cfg **cfgs = ufs_phy->cfg;
>> @@ -93,14 +93,14 @@ out:
>>       return 0;
>>   }
>>
>> -void exynos_ufs_phy_set_lane_cnt(struct phy *phy, u8 lane_cnt)
>> +static void exynos_ufs_phy_set_lane_cnt(struct phy *phy, u8 lane_cnt)
>>   {
>>       struct exynos_ufs_phy *ufs_phy = get_exynos_ufs_phy(phy);
>>
>>       ufs_phy->lane_cnt = lane_cnt;
>>   }
>>
>> -int exynos_ufs_phy_wait_for_lock_acq(struct phy *phy)
>> +static int exynos_ufs_phy_wait_for_lock_acq(struct phy *phy)
>>   {
>>       struct exynos_ufs_phy *ufs_phy = get_exynos_ufs_phy(phy);
>>       const unsigned int timeout_us = 100000;
>>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1245786 — Re: [kbuild-all] [RFC PATCH] phy: exynos-ufs: exynos_ufs_phy_calibrate() can be static

FromFengguang Wu <lkp@intel.com>
Date2015-10-13 16:40 +0200
SubjectRe: [kbuild-all] [RFC PATCH] phy: exynos-ufs: exynos_ufs_phy_calibrate() can be static
Message-ID<qj8Ua-Wq-11@gated-at.bofh.it>
In reply to#1245625
On Tue, Oct 13, 2015 at 05:08:58PM +0530, Alim Akhtar wrote:
> HI
> How I am support to handle this patch? Should I just fix these warnings in
> my patch or I just add this as a separate patch on the top of the series?

Alim, you can simply fold it into your patch.

Thanks,
Fengguang

> On 10/01/2015 04:34 PM, kbuild test robot wrote:
> >
> >Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> >---
> >  phy-exynos-ufs.c |    6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> >
> >diff --git a/drivers/phy/phy-exynos-ufs.c b/drivers/phy/phy-exynos-ufs.c
> >index 343fcaf..835ee78 100644
> >--- a/drivers/phy/phy-exynos-ufs.c
> >+++ b/drivers/phy/phy-exynos-ufs.c
> >@@ -66,7 +66,7 @@ static bool match_cfg_to_pwr_mode(u8 desc, u8 required_pwr)
> >  	return false;
> >  }
> >
> >-int exynos_ufs_phy_calibrate(struct phy *phy, enum phy_cfg_tag tag, u8 pwr)
> >+static int exynos_ufs_phy_calibrate(struct phy *phy, enum phy_cfg_tag tag, u8 pwr)
> >  {
> >  	struct exynos_ufs_phy *ufs_phy = get_exynos_ufs_phy(phy);
> >  	struct exynos_ufs_phy_cfg **cfgs = ufs_phy->cfg;
> >@@ -93,14 +93,14 @@ out:
> >  	return 0;
> >  }
> >
> >-void exynos_ufs_phy_set_lane_cnt(struct phy *phy, u8 lane_cnt)
> >+static void exynos_ufs_phy_set_lane_cnt(struct phy *phy, u8 lane_cnt)
> >  {
> >  	struct exynos_ufs_phy *ufs_phy = get_exynos_ufs_phy(phy);
> >
> >  	ufs_phy->lane_cnt = lane_cnt;
> >  }
> >
> >-int exynos_ufs_phy_wait_for_lock_acq(struct phy *phy)
> >+static int exynos_ufs_phy_wait_for_lock_acq(struct phy *phy)
> >  {
> >  	struct exynos_ufs_phy *ufs_phy = get_exynos_ufs_phy(phy);
> >  	const unsigned int timeout_us = 100000;
> >
> _______________________________________________
> kbuild-all mailing list
> kbuild-all@lists.01.org
> https://lists.01.org/mailman/listinfo/kbuild-all
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web