Re: [PATCH 2/6] bitops.h: add sign_extend16 function

2014-12-15 Thread Martin Kepplinger
Am 2014-12-15 um 17:18 schrieb Martin Kepplinger: > This adds sign_exten16 to sign extend any signed value shorter than 16 bits > to a s16. > > Signed-off-by: Martin Kepplinger > --- if you feel motivated, you can add this to the commit message: Suggested-by: Christoph Muellner -- To

[PATCH 2/6] bitops.h: add sign_extend16 function

2014-12-15 Thread Martin Kepplinger
This adds sign_exten16 to sign extend any signed value shorter than 16 bits to a s16. Signed-off-by: Martin Kepplinger --- include/linux/bitops.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/linux/bitops.h b/include/linux/bitops.h index 3c2a539..70190f4 100644 ---

[PATCH 2/6] bitops.h: add sign_extend16 function

2014-12-15 Thread Martin Kepplinger
This adds sign_exten16 to sign extend any signed value shorter than 16 bits to a s16. Signed-off-by: Martin Kepplinger mart...@posteo.de --- include/linux/bitops.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/linux/bitops.h b/include/linux/bitops.h index

Re: [PATCH 2/6] bitops.h: add sign_extend16 function

2014-12-15 Thread Martin Kepplinger
Am 2014-12-15 um 17:18 schrieb Martin Kepplinger: This adds sign_exten16 to sign extend any signed value shorter than 16 bits to a s16. Signed-off-by: Martin Kepplinger mart...@posteo.de --- if you feel motivated, you can add this to the commit message: Suggested-by: Christoph Muellner