* [cip-dev] [PATCH 4.19.y-cip] spi: spi-mem: Make spi_mem_default_supports_op() static inline
@ 2021-01-06 13:22 Lad Prabhakar
2021-01-06 17:08 ` Pavel Machek
2021-01-06 17:39 ` Pavel Machek
0 siblings, 2 replies; 4+ messages in thread
From: Lad Prabhakar @ 2021-01-06 13:22 UTC (permalink / raw)
To: cip-dev, Nobuhiro Iwamatsu, Pavel Machek; +Cc: Biju Das
[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]
From: YueHaibing <yuehaibing@huawei.com>
commit b5881b153bc81d63a5a7e82a35e8a4bdbe1f8c73 upstream.
Stub helper spi_mem_default_supports_op() should
be set to static inline
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
Hi Pavel,
This is a incremental patch on top of series [1], as you pointed out in
patch [2] the function should be static, this patch fixes this issue
and is backported from upstream kernel.
[1] https://patchwork.kernel.org/project/cip-dev/list/?series=409359
[2] https://patchwork.kernel.org/project/cip-dev/patch/20210105135757
.11069-9-prabhakar.mahadev-lad.rj@bp.renesas.com/
Cheers,
Prabhakar
---
include/linux/spi/spi-mem.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/spi/spi-mem.h b/include/linux/spi/spi-mem.h
index 762b3974cf9c..46497e742e7f 100644
--- a/include/linux/spi/spi-mem.h
+++ b/include/linux/spi/spi-mem.h
@@ -315,6 +315,7 @@ spi_controller_dma_unmap_mem_op_data(struct spi_controller *ctlr,
{
}
+static inline
bool spi_mem_default_supports_op(struct spi_mem *mem,
const struct spi_mem_op *op)
{
--
2.17.1
[-- Attachment #2: Type: text/plain, Size: 420 bytes --]
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6044): https://lists.cip-project.org/g/cip-dev/message/6044
Mute This Topic: https://lists.cip-project.org/mt/79474032/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [cip-dev] [PATCH 4.19.y-cip] spi: spi-mem: Make spi_mem_default_supports_op() static inline
2021-01-06 13:22 [cip-dev] [PATCH 4.19.y-cip] spi: spi-mem: Make spi_mem_default_supports_op() static inline Lad Prabhakar
@ 2021-01-06 17:08 ` Pavel Machek
2021-01-06 17:10 ` Lad Prabhakar
2021-01-06 17:39 ` Pavel Machek
1 sibling, 1 reply; 4+ messages in thread
From: Pavel Machek @ 2021-01-06 17:08 UTC (permalink / raw)
To: Lad Prabhakar; +Cc: cip-dev, Nobuhiro Iwamatsu, Pavel Machek, Biju Das
[-- Attachment #1.1: Type: text/plain, Size: 665 bytes --]
Hi!
> This is a incremental patch on top of series [1], as you pointed out in
> patch [2] the function should be static, this patch fixes this issue
> and is backported from upstream kernel.
Thank you! I pushed applied and pushed the three series leading to
this ("Add Renesas RPC-IF driver", "Add missing rpc-if clock on
RZ/G2{E,M,N} SoC'", "Optimize pinctrl and add QSPI[01] pins for
RZ/G2{H,M,N,E}".)
This looks okay to me, so I'll test it and push it in few minutes.
Best regards,
Pavel
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 420 bytes --]
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6045): https://lists.cip-project.org/g/cip-dev/message/6045
Mute This Topic: https://lists.cip-project.org/mt/79474032/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [cip-dev] [PATCH 4.19.y-cip] spi: spi-mem: Make spi_mem_default_supports_op() static inline
2021-01-06 17:08 ` Pavel Machek
@ 2021-01-06 17:10 ` Lad Prabhakar
0 siblings, 0 replies; 4+ messages in thread
From: Lad Prabhakar @ 2021-01-06 17:10 UTC (permalink / raw)
To: Pavel Machek; +Cc: cip-dev, Nobuhiro Iwamatsu, Biju Das
[-- Attachment #1: Type: text/plain, Size: 1184 bytes --]
Hi Pavel,
> -----Original Message-----
> From: Pavel Machek <pavel@denx.de>
> Sent: 06 January 2021 17:08
> To: Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Cc: cip-dev@lists.cip-project.org; Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek
> <pavel@denx.de>; Biju Das <biju.das.jz@bp.renesas.com>
> Subject: Re: [PATCH 4.19.y-cip] spi: spi-mem: Make spi_mem_default_supports_op() static inline
>
> Hi!
>
> > This is a incremental patch on top of series [1], as you pointed out in
> > patch [2] the function should be static, this patch fixes this issue
> > and is backported from upstream kernel.
>
> Thank you! I pushed applied and pushed the three series leading to
> this ("Add Renesas RPC-IF driver", "Add missing rpc-if clock on
> RZ/G2{E,M,N} SoC'", "Optimize pinctrl and add QSPI[01] pins for
> RZ/G2{H,M,N,E}".)
>
> This looks okay to me, so I'll test it and push it in few minutes.
>
Thank you.
Cheers,
Prabhakar
> Best regards,
> Pavel
> --
> DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
[-- Attachment #2: Type: text/plain, Size: 420 bytes --]
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6046): https://lists.cip-project.org/g/cip-dev/message/6046
Mute This Topic: https://lists.cip-project.org/mt/79474032/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [cip-dev] [PATCH 4.19.y-cip] spi: spi-mem: Make spi_mem_default_supports_op() static inline
2021-01-06 13:22 [cip-dev] [PATCH 4.19.y-cip] spi: spi-mem: Make spi_mem_default_supports_op() static inline Lad Prabhakar
2021-01-06 17:08 ` Pavel Machek
@ 2021-01-06 17:39 ` Pavel Machek
1 sibling, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2021-01-06 17:39 UTC (permalink / raw)
To: Lad Prabhakar; +Cc: cip-dev, Nobuhiro Iwamatsu, Pavel Machek, Biju Das
[-- Attachment #1.1: Type: text/plain, Size: 762 bytes --]
Hi!
> commit b5881b153bc81d63a5a7e82a35e8a4bdbe1f8c73 upstream.
>
> Stub helper spi_mem_default_supports_op() should
> be set to static inline
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> Signed-off-by: Mark Brown <broonie@kernel.org>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> ---
> Hi Pavel,
>
> This is a incremental patch on top of series [1], as you pointed out in
> patch [2] the function should be static, this patch fixes this issue
> and is backported from upstream kernel.
Thanks, applied and pushed out.
Best regards,
Pavel
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 420 bytes --]
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6047): https://lists.cip-project.org/g/cip-dev/message/6047
Mute This Topic: https://lists.cip-project.org/mt/79474032/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-01-06 17:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-06 13:22 [cip-dev] [PATCH 4.19.y-cip] spi: spi-mem: Make spi_mem_default_supports_op() static inline Lad Prabhakar
2021-01-06 17:08 ` Pavel Machek
2021-01-06 17:10 ` Lad Prabhakar
2021-01-06 17:39 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).