naming conventions

2017-07-22 Thread John de la Garza
Are there naming conventions that are preferred for functions? I'm seeing somethings named foo_free, free_foo, foo_init, init_foo, etc. Consistency provides names that are easy to guess/learn. examples from: linux/kernel/fork.c static void free_thread_stack(s

Re: GRUB always enters a rescue shell.

2017-07-22 Thread Aruna Hewapathirane
On Mon, Jul 17, 2017 at 11:16 AM, Kamil Konieczny < k.koniec...@partner.samsung.com> wrote: > Hi, > > On 13.07.2017 10:39, Hao Lee wrote: > > > I encounter a problem when making a bootable disk image because GRUB > > always enters a > > rescue shell. > > > > I want to create a disk image and insta

Re: GRUB always enters a rescue shell.

2017-07-22 Thread Aruna Hewapathirane
Hello Hao, On Thu, Jul 13, 2017 at 4:39 AM, Hao Lee wrote: > Hi, > > I encounter a problem when making a bootable disk image because GRUB > always enters a > rescue shell. > > I want to create a disk image and install GRUB 2 on it and then use > Bochs to run it. The steps are as follows. > > Sys

Re: Contribute

2017-07-22 Thread Greg KH
On Sat, Jul 22, 2017 at 12:21:15PM +0200, nunojsa wrote: > On 22.07.2017 11:56, Greg KH wrote: > > On Sat, Jul 22, 2017 at 11:39:45AM +0200, nunojsa wrote: > >> Hi all, > >> > >> Im fairly new to linux kernel and would like to start with some staging > >> work (seems like the best way to start). >

Re: Contribute

2017-07-22 Thread nunojsa
On 22.07.2017 11:56, Greg KH wrote: > On Sat, Jul 22, 2017 at 11:39:45AM +0200, nunojsa wrote: >> Hi all, >> >> Im fairly new to linux kernel and would like to start with some staging work >> (seems like the best way to start). >> Basically what i would like to know is which tree should i clone fo

Re: Contribute

2017-07-22 Thread Greg KH
On Sat, Jul 22, 2017 at 11:39:45AM +0200, nunojsa wrote: > Hi all, > > Im fairly new to linux kernel and would like to start with some staging work > (seems like the best way to start). > Basically what i would like to know is which tree should i clone for this? My > understanding is that one sh

Contribute

2017-07-22 Thread nunojsa
Hi all, Im fairly new to linux kernel and would like to start with some staging work (seems like the best way to start). Basically what i would like to know is which tree should i clone for this? My understanding is that one should never work directly on top of the mainline tree, instead (for t