I hereby claim:
- I am petersenna on github.
- I am petersenna (https://keybase.io/petersenna) on keybase.
- I have a public key whose fingerprint is CE5A 4743 24BF 87DC 5798 A5F4 52A6 6F38 4827 4C36
To claim this, I am signing this object:
#include <linux/module.h> | |
#include <linux/fs.h> | |
#include <linux/slab.h> | |
#include <linux/uaccess.h> | |
#include <linux/proc_fs.h> | |
#include "m.h" | |
#define OPTIMAL_COPY_SIZE (32 * 1024) | |
int init_module(void); |
@@ | |
statement S; | |
@@ | |
-S; | |
+S |
#!/bin/perl | |
# Receives a Kconfig value and returns files associated to that value | |
# Peter Senna Tschudin <peter.senna@lip6.fr> | |
# | |
use File::Basename; | |
use File::Find::Rule; | |
use File::Slurp; | |
use Cwd; | |
use Cwd qw(realpath); | |
use strict; |
16/01 P.S. Tschudin | |
Asynchronous Intrusion Recovery for Interconnected Web Services | |
http://dl.acm.org/ft_gateway.cfm?id=2522725&ftid=1403944&dwn=1 | |
23/01 | |
30/01 | |
06/02 |
What is the age of the lines my patches are touching? | |
Apply all your patches in a local branch of linux-next, but be aware that some commands | |
are executed on remotes/linux-next/master while other on the branch with the changes. | |
1 - Get git diff. -U0 is very important here | |
#### On the branch with the changes #### | |
$ git diff -U0 remotes/linux-next/master > /tmp/1.patch | |
2 - Get rid of useless lines |
# git diff | |
$ git diff --stat|awk '{ print $3 " "$4 " " $1}'| sort -n -r|less | |
# diffstat | |
$ diffstat /tmp/my.patch|awk '{ print $3 " "$4 " " $1}'|sort -n -r|less |
export HISTSIZE="" | |
HIST_FILE=~/.bash_history | |
BACK_FILE=~/.bash_history_backup | |
if [ ! -f $BACK_FILE ];then touch -d "2 hours ago" $BACK_FILE;fi | |
if test $(find $BACK_FILE -mmin +60); then | |
HIST_SIZE=$(cat $HIST_FILE|wc -l) | |
BACK_SIZE=$(cat $BACK_FILE|wc -l) | |
GROWTH=$(($HIST_SIZE - $BACK_SIZE)) |
#.git/config | |
[core] | |
repositoryformatversion = 0 | |
filemode = true | |
bare = false | |
logallrefupdates = true | |
[remote "origin"] | |
url = https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux | |
fetch = +refs/heads/*:refs/remotes/origin/* |
I hereby claim:
To claim this, I am signing this object:
diff -u -p a/drivers/media/platform/arv.c b/drivers/media/platform/arv.c | |
--- a/drivers/media/platform/arv.c | |
+++ b/drivers/media/platform/arv.c | |
@@ -218,10 +218,7 @@ static void init_iic(void) | |
/* 50MH-100k */ | |
if (freq == 75) | |
ar_outl(369, PLDI2CFREQ); /* BCLK = 75MHz */ | |
- else if (freq == 50) | |
- ar_outl(244, PLDI2CFREQ); /* BCLK = 50MHz */ | |
- else |