[PATCH] scripts/patch-kernel fix

2012-07-19 Thread Daniel Wisehart
Takes care of errors when running something like: $ ./scripts/patch-kernel . .. 3.5 Current kernel version is 3.5.0-rc7 ( Saber-toothed Squirrel) ./scripts/patch-kernel: line 229: [: -lt: unary operator expected ./scripts/patch-kernel: line 252: [: -gt: unary operator expected diff --git

[Bcache v14 PATCH] fix compiler error

2012-07-19 Thread Daniel Wisehart
Hello Kent, This patch keeps gcc 4.7.0 happy. The static function dump_bset() could be moved, but that would have made a bigger patch. :-) Thanks, Daniel diff --git a/drivers/md/bcache/debug.c b/drivers/md/bcache/debug.c index 3c9c24d..4dc0ba5 100644 --- a/drivers/md/bcache/debug.c +++

[Bcache v14 PATCH] fix compiler error

2012-07-19 Thread Daniel Wisehart
Hello Kent, This patch keeps gcc 4.7.0 happy. The static function dump_bset() could be moved, but that would have made a bigger patch. :-) Thanks, Daniel diff --git a/drivers/md/bcache/debug.c b/drivers/md/bcache/debug.c index 3c9c24d..4dc0ba5 100644 --- a/drivers/md/bcache/debug.c +++

[PATCH] scripts/patch-kernel fix

2012-07-19 Thread Daniel Wisehart
Takes care of errors when running something like: $ ./scripts/patch-kernel . .. 3.5 Current kernel version is 3.5.0-rc7 ( Saber-toothed Squirrel) ./scripts/patch-kernel: line 229: [: -lt: unary operator expected ./scripts/patch-kernel: line 252: [: -gt: unary operator expected diff --git