Cause is a misplaced bracket.
The code
strlen(buf+1)
will be two bytes less than
strlen(buf)+1
The +1 is in this code to reserve space for an additional space character.
[[email protected]: Thomas' original patch fixed the issue only for
Yosemite but the same bug exists also in Emma.]
Signed-off-by: Thomas Jarosch <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/2861/
Signed-off-by: Ralf Baechle <[email protected]>
They tend to get not updated when files are moved around or copied and
lack any obvious use. While at it zap some only too obvious comments and
as per Shinya's suggestion, add a copyright header to extable.c.
Signed-off-by: Ralf Baechle <[email protected]>
Acked-by: Shinya Kuribayashi <[email protected]>
Acked-by: Thadeu Lima de Souza Cascardo <[email protected]>
Current EMMA2RH irq code is mess. Before cleaning it up, gather them
in one place as a first step.
Signed-off-by: Shinya Kuribayashi <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
Let's use immediate value, instead. This also saves memory footprint,
and probably a little bit faster.
Signed-off-by: Shinya Kuribayashi <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
We'll put all EMMA related headers there in the future.
Signed-off-by: Shinya Kuribayashi <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
git mv arch/mips/{emma2rh,emma} and fixups Makefiles. We'll put all NEC
EMMA series based machines there in the future.
Signed-off-by: Shinya Kuribayashi <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>