lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75Veaqp4O1jcBHZZh2L5ReMU1+2vH+FfRzfLyY8CdwZwq+w@mail.gmail.com>
Date:   Sun, 16 Apr 2023 13:01:32 +0300
From:   Andy Shevchenko <andy.shevchenko@...il.com>
To:     Anup Sharma <anupnewsmail@...il.com>
Cc:     hdegoede@...hat.com, mchehab@...nel.org,
        sakari.ailus@...ux.intel.com, gregkh@...uxfoundation.org,
        andy@...nel.org, linux-media@...r.kernel.org,
        linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org,
        linux-kernel-mentees@...ts.linuxfoundation.org,
        skhan@...uxfoundation.org
Subject: Re: [PATCH] Staging: media: atomisp: include: mmu: include
 <linux/processor.h> instead of <asm/processor.h>

On Sun, Apr 16, 2023 at 10:20 AM Anup Sharma <anupnewsmail@...il.com> wrote:
>
> Fix following checkpatch.pl warning by including
> <linux/processor.h> instead of <asm/processor.h>

Missing period at the end. But the entire patch seems unnecessary
since it's all about x86, and we have more arch headers there anyway.
Anyway it's up to Hans. Also see below.

...

>  #include <asm/intel-family.h>
> -#include <asm/processor.h>
> +#include <linux/processor.h>
>
>  #include <linux/i2c.h>
>  #include <media/v4l2-subdev.h>

This seems a bit chaotic with the ordering of the headers here.

...

If you want a good patch, you need to understand what headers are
_really_ being used in the header file. Then drop unused, try to
compile that and fix all files that will have missing headers after
that. This will be a very useful clean up!

-- 
With Best Regards,
Andy Shevchenko

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ