Re: [PATCH v3 1/3] staging: sm750fb: remove unused <asm/mtrr.h> include
From: Greg Kroah-Hartman
Date: Tue May 12 2026 - 03:37:07 EST
On Tue, May 12, 2026 at 12:19:55PM +0545, Chhabilal Dangal wrote:
> sm750_hw.c includes <asm/mtrr.h> under CONFIG_MTRR, but no
> mtrr_add/mtrr_del calls exist in the file; the driver uses
> arch_phys_wc_add/arch_phys_wc_del in sm750.c instead.
>
> Remove the dead include.
>
> Signed-off-by: Chhabilal Dangal <yogeshdangal66@xxxxxxxxx>
> ---
> drivers/staging/sm750fb/sm750_hw.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/staging/sm750fb/sm750_hw.c b/drivers/staging/sm750fb/sm750_hw.c
> index a2798d428663..f491d3aca468 100644
> --- a/drivers/staging/sm750fb/sm750_hw.c
> +++ b/drivers/staging/sm750fb/sm750_hw.c
> @@ -13,10 +13,6 @@
> #include <linux/vmalloc.h>
> #include <linux/pagemap.h>
> #include <linux/console.h>
> -#ifdef CONFIG_MTRR
> -#include <asm/mtrr.h>
> -#endif
> -#include <linux/platform_device.h>
> #include <linux/sizes.h>
>
> #include "sm750.h"
> --
> 2.54.0
>
>
Please slow down. Wait at least a full day between patch submissions.
There is no rush or deadline here. As pointed out, your patches don't
even apply :(
Take a few days off, redo these. Send them to yourself and see if you
can apply them from the message you send, and then, if all works, send
them out AFTER reading all of the review comments (again this series was
not sent properly, there is no version information...)
thanks,
greg k-h