* [PATCH v1] irqdomain: add empty irq_domain_check_msi_remap
@ 2017-03-02 15:11 Mian Yousaf Kaukab
2017-03-02 15:19 ` Marc Zyngier
0 siblings, 1 reply; 3+ messages in thread
From: Mian Yousaf Kaukab @ 2017-03-02 15:11 UTC (permalink / raw)
To: linux-kernel, kvm, marc.zyngier, alex.williamson
Cc: eric.auger, will.deacon, Mian Yousaf Kaukab
Fix following build error for s390:
drivers/vfio/vfio_iommu_type1.c: In function 'vfio_iommu_type1_attach_group':
drivers/vfio/vfio_iommu_type1.c:1290:25: error: implicit declaration of function 'irq_domain_check_msi_remap'
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@suse.com>
---
History:
v1:
-Return false instead of true as suggested by Marc and Eric.
-Drop 2/2
include/linux/irqdomain.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h
index 188eced6813e..9f3616085423 100644
--- a/include/linux/irqdomain.h
+++ b/include/linux/irqdomain.h
@@ -524,6 +524,10 @@ static inline struct irq_domain *irq_find_matching_fwnode(
{
return NULL;
}
+static inline bool irq_domain_check_msi_remap(void)
+{
+ return false;
+}
#endif /* !CONFIG_IRQ_DOMAIN */
#endif /* _LINUX_IRQDOMAIN_H */
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v1] irqdomain: add empty irq_domain_check_msi_remap
2017-03-02 15:11 [PATCH v1] irqdomain: add empty irq_domain_check_msi_remap Mian Yousaf Kaukab
@ 2017-03-02 15:19 ` Marc Zyngier
2017-03-02 15:34 ` Auger Eric
0 siblings, 1 reply; 3+ messages in thread
From: Marc Zyngier @ 2017-03-02 15:19 UTC (permalink / raw)
To: Mian Yousaf Kaukab, linux-kernel, kvm, alex.williamson
Cc: eric.auger, will.deacon
On 02/03/17 15:11, Mian Yousaf Kaukab wrote:
> Fix following build error for s390:
> drivers/vfio/vfio_iommu_type1.c: In function 'vfio_iommu_type1_attach_group':
> drivers/vfio/vfio_iommu_type1.c:1290:25: error: implicit declaration of function 'irq_domain_check_msi_remap'
>
> Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@suse.com>
> ---
> History:
> v1:
> -Return false instead of true as suggested by Marc and Eric.
> -Drop 2/2
>
> include/linux/irqdomain.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h
> index 188eced6813e..9f3616085423 100644
> --- a/include/linux/irqdomain.h
> +++ b/include/linux/irqdomain.h
> @@ -524,6 +524,10 @@ static inline struct irq_domain *irq_find_matching_fwnode(
> {
> return NULL;
> }
> +static inline bool irq_domain_check_msi_remap(void)
> +{
> + return false;
> +}
> #endif /* !CONFIG_IRQ_DOMAIN */
>
> #endif /* _LINUX_IRQDOMAIN_H */
>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
I'll queue that now.
Thanks,
M.
--
Jazz is not dead. It just smells funny...
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1] irqdomain: add empty irq_domain_check_msi_remap
2017-03-02 15:19 ` Marc Zyngier
@ 2017-03-02 15:34 ` Auger Eric
0 siblings, 0 replies; 3+ messages in thread
From: Auger Eric @ 2017-03-02 15:34 UTC (permalink / raw)
To: Marc Zyngier, Mian Yousaf Kaukab, linux-kernel, kvm, alex.williamson
Cc: will.deacon
Hi,
On 02/03/2017 16:19, Marc Zyngier wrote:
> On 02/03/17 15:11, Mian Yousaf Kaukab wrote:
>> Fix following build error for s390:
>> drivers/vfio/vfio_iommu_type1.c: In function 'vfio_iommu_type1_attach_group':
>> drivers/vfio/vfio_iommu_type1.c:1290:25: error: implicit declaration of function 'irq_domain_check_msi_remap'
>>
>> Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@suse.com>
>> ---
>> History:
>> v1:
>> -Return false instead of true as suggested by Marc and Eric.
>> -Drop 2/2
>>
>> include/linux/irqdomain.h | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h
>> index 188eced6813e..9f3616085423 100644
>> --- a/include/linux/irqdomain.h
>> +++ b/include/linux/irqdomain.h
>> @@ -524,6 +524,10 @@ static inline struct irq_domain *irq_find_matching_fwnode(
>> {
>> return NULL;
>> }
>> +static inline bool irq_domain_check_msi_remap(void)
>> +{
>> + return false;
>> +}
>> #endif /* !CONFIG_IRQ_DOMAIN */
>>
>> #endif /* _LINUX_IRQDOMAIN_H */
>>
>
> Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Thanks!
Eric
>
> I'll queue that now.
>
> Thanks,
>
> M.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-03-02 19:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-02 15:11 [PATCH v1] irqdomain: add empty irq_domain_check_msi_remap Mian Yousaf Kaukab
2017-03-02 15:19 ` Marc Zyngier
2017-03-02 15:34 ` Auger Eric
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).