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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 below and including
> > only when CONFIG_FAULT_INJECTION is selected to avoid build breakages.
> >
> > Another solution would be us including the linux/types.h as well, but
> > this creates unnecessary cases.
> >
> > Reference: https://lore.kernel.org/all/20230816134748.979231-1-himal.prasad.ghimiray@xxxxxxxxx/
> > Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@xxxxxxxxx>
> > Cc: Oded Gabbay <ogabbay@xxxxxxxxxx>
> > Cc: Thomas Hellström <thomas.hellstrom@xxxxxxxxxxxxxxx>
> > Cc: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>
> > Signed-off-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
> LGTM.
>
> Reviewed-by: Thomas Hellström <thomas.hellstrom@xxxxxxxxxxxxxxx>

Hmm, msm/msm_drv.c doesn't seem to need to do this. Anyway maybe ok for a
temporary fix...




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux