Re: [PATCH] drm/xe: Fix build without CONFIG_FAULT_INJECTION

2023-12-18 Thread Rodrigo Vivi
On Mon, Dec 18, 2023 at 10:51:03AM -0800, Dixit, Ashutosh wrote: > On Mon, 18 Dec 2023 06:57:14 -0800, Thomas Hellström wrote: > > > > > > On 12/18/23 15:30, Rodrigo Vivi wrote: > > > Ideally this header could be included without the CONFIG_FAULT_INJECTION > > > and it would take care itself for

Re: [PATCH] drm/xe: Fix build without CONFIG_FAULT_INJECTION

2023-12-18 Thread Dixit, Ashutosh
On Mon, 18 Dec 2023 06:57:14 -0800, Thomas Hellström wrote: > > > On 12/18/23 15:30, Rodrigo Vivi wrote: > > Ideally this header could be included without the CONFIG_FAULT_INJECTION > > and it would take care itself for the includes it needs. > > So, let's temporary workaround this by moving this

Re: [PATCH] drm/xe: Fix build without CONFIG_FAULT_INJECTION

2023-12-18 Thread Thomas Hellström
On 12/18/23 15:30, Rodrigo Vivi wrote: Ideally this header could be included without the CONFIG_FAULT_INJECTION and it would take care itself for the includes it needs. So, let's temporary workaround this by moving this below and including only when CONFIG_FAULT_INJECTION is selected to avoid

[PATCH] drm/xe: Fix build without CONFIG_FAULT_INJECTION

2023-12-18 Thread Rodrigo Vivi
Ideally this header could be included without the CONFIG_FAULT_INJECTION and it would take care itself for the includes it needs. So, let's temporary workaround this by moving this below and including only when CONFIG_FAULT_INJECTION is selected to avoid build breakages. Another solution would be