Re: Can't seem to find a maintainer for init/* files

2019-10-21 Thread Paulo Miguel Almeida
On Fri, Oct 18, 2019 at 07:25:12PM -0400, Valdis Klētnieks wrote: > On Sat, 19 Oct 2019 10:33:00 +1300, Paulo Almeida said: > > > 1 - This specific code block has been around for quite some time and many > > additions using the correct printk(KERN_* were made after it was written. > > Does that me

[PATCH] staging: rtl8192u: specify printk's KERN_ in ieee80211

2020-01-12 Thread Paulo Miguel Almeida
%) de...@driverdev.osuosl.org (open list:STAGING SUBSYSTEM) linux-ker...@vger.kernel.org (open list) The origin commit message follows Checkpatch reports 'WARNING: printk() should include KERN_ facility level'. Fix this by specifying a relevant KERN_ value for each line in which it was missing. Signed-off-b

Re: [PATCH] staging: rtl8192u: specify printk's KERN_ in ieee80211

2020-01-14 Thread Paulo Miguel Almeida
On Mon, Jan 13, 2020 at 09:53:23AM +0100, Bjørn Mork wrote: > Paulo Miguel Almeida writes: > > > Checkpatch reports 'WARNING: printk() should include KERN_ > > facility level'. Fix this by specifying a relevant KERN_ value > > for each line in which it was miss

Re: How is the value of KernelStack in /proc/meminfo computed ?

2020-08-07 Thread Paulo Miguel Almeida
On Fri, Aug 07, 2020 at 03:09:33PM -0500, William Tambe wrote: > How is the value of KernelStack in /proc/meminfo computed ? > > Any pointers in the code source would be much appreciated. > > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbie

Re: Adding a sched_class after the removal of ".next" regarding priority

2021-05-20 Thread Paulo Miguel Almeida
-priority than the __fair_sched_class, it breaks when trying to execute the __my_sched_class methods defined in the DEFINE_SCHED_CLASS macro. Example from the fair.c sched class: https://github.com/torvalds/linux/blob/02dbb7246c5e1607ebdc546ba5c454a664b1/kernel/sched/fair.c#L11

Re: Loading a simple "kernel" at the address other than default on Raspberry Pi 4

2021-11-02 Thread Paulo Miguel Almeida
Disclaimer: I'm not an expert in ARM, I'm just trying to help because I've been (still am really) in the journey of writing a hobbist OS and know how small suggestions can help sometimes. On Tue, Nov 02, 2021 at 05:13:16PM +0500, Mushahid Hussain wrote: > There's a configuration(config.txt)[1] k

ioctl number change / backwards compatibility doubt

2022-01-16 Thread Paulo Miguel Almeida
Hi everyone, Context: I've been working on a driver called pi433 in the staging area and it basically exposes a char device so the user can read/write stuff to it while obtaining tx/rx configuration via ioctl calls. Tx/Rx configurations are both structs that (ideally) would be exposed to the us

Re: ioctl number change / backwards compatibility doubt

2022-01-22 Thread Paulo Miguel Almeida
On Mon, Jan 17, 2022 at 01:58:42PM +0100, Greg KH wrote: > Not many people ever look at that file, and it is ok to have conflicts > as the same tool should never have to handle multiple drivers where a > conflict happens. Noted > > 1: Given the driver's history and ioctl number conflit, is the ba

Re: ioctl number change / backwards compatibility doubt

2022-01-23 Thread Paulo Miguel Almeida
On Sun, Jan 23, 2022 at 12:04:48PM +0100, Greg KH wrote: > On Sun, Jan 23, 2022 at 08:55:30PM +1300, Paulo Miguel Almeida wrote: > > > > I googled a fair bit of time and I'm 99% confident that there isn't such > > userspace/lib tool so I guess this will have done t

Re: ioctl number change / backwards compatibility doubt

2022-03-11 Thread Paulo Miguel Almeida
On Mon, Jan 24, 2022 at 07:20:45AM +0100, Greg KH wrote: > On Mon, Jan 24, 2022 at 05:49:06PM +1300, Paulo Miguel Almeida wrote: > > On Sun, Jan 23, 2022 at 12:04:48PM +0100, Greg KH wrote: > > > > when you told me to look for the userspace tool that interfaced w

Re: large global static arrays

2022-12-14 Thread Paulo Miguel Almeida
On Thu, Dec 15, 2022 at 11:44:32AM +0530, Ani Sinha wrote: > Hi > > I’m curious to know whether large static arrays can be declared inside > any module ( kernel source .c file). I am aware that kernel stack > space can be limited and so within the function it’s not a good idea > to declare large s

Re: custom compil

2023-01-22 Thread Paulo Miguel Almeida
On Sun, Jan 22, 2023 at 11:26:40PM +0100, A.Péré wrote: > Hi, > I would like to compile a kernel for fedora following this security > guide ( > https://www.ssi.gouv.fr/guide/recommandations-de-securite-relatives-a-un-systeme-gnulinux/ > v2) Hi Aurel, Fedora maintains its own kernel and while it