提交 d375b970 编写于 作者: C Cyrill Gorcunov 提交者: Linus Torvalds

UDF: fix function name from udf_crc16 to udf_crc

We have to change udf_crc16() name to udf_crc() to be able to play with CRC
test.
Signed-off-by: NCyrill Gorcunov <gorcunov@gmail.com>
Cc: Jan Kara <jack@ucw.cz>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 608e2619
...@@ -106,8 +106,8 @@ int main(void) ...@@ -106,8 +106,8 @@ int main(void)
{ {
unsigned short x; unsigned short x;
x = udf_crc16(bytes, sizeof bytes); x = udf_crc(bytes, sizeof bytes);
printf("udf_crc16: calculated = %4.4x, correct = %4.4x\n", x, 0x3299U); printf("udf_crc: calculated = %4.4x, correct = %4.4x\n", x, 0x3299U);
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册