Re: Kernel janitors website?

Dan Carpenter
2013-02-15T08:40:18Z

On Thu, Feb 14, 2013 at 07:09:44PM +0100, Michal Sojka wrote:
> Hello,
>
> we are running a university course [1] (in Czech) about working with
> open source communities. We try to help students with finding tasks and
> projects to work on. Do you have a web site listing the possible tasks
> for students?
>
> It used to be http://janitor.kernelnewbies.org/ but it seems to be dead.
> Other pages http://kernelnewbies.org/KernelJanitors/Todo,
> https://code.google.com/p/kernel-janitors/wiki/TODO seem to be outdated.

Most of these still apply.

There is always stuff to fix in staging. The thing about staging
though is that fixing style issues are fairly boring for students.
Also kernel style guidelines are very involved and we tend to be
stricter about pure style fixes than we are about bug fixes.

What I sometimes do is review short fixes and find similar bugs.

git checkout v3.3

git log --oneline v3.3-rc3..v3.3 | while read hash ; do
if ! git show $hash | diffstat -l | grep -q "\.c$" ; then
continue
fi
lines=$(git show $hash | diffstat | tail -n 1 | cut -d ' ' -f 5)
echo $lines $hash
done | sort -n | cut -d ' ' -f 2 | tee hashes

for i in $(cat hashes) ; do
git show $i
done | less

A lot of kernel janitor patches these days are static analysis
fixes. I'm using Smatch. A bunch of people are doing things with
Coccinelle. I think Peter is using clang. I think there are many
clang warnings left though.

I think as well, that you would find more warnings on non-x86
arches.

You could try asking for ideas on lkml. We're always interested in
ideas as well. Describe how long you'd want a typical project to
take.

regards,
dan carpenter