[PATCH] UDF: fix function name from udf_crc16 to udf_crc

2007-06-29 Thread Cyrill Gorcunov
We have to change udf_crc16() name to udf_crc()
to be able to play with CRC test.

Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]>
---

 fs/udf/crc.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/fs/udf/crc.c b/fs/udf/crc.c
index 490aebe..85aaee5 100644
--- a/fs/udf/crc.c
+++ b/fs/udf/crc.c
@@ -105,8 +105,8 @@ int main(void)
 {
unsigned short x;
 
-   x = udf_crc16(bytes, sizeof bytes);
-   printf("udf_crc16: calculated = %4.4x, correct = %4.4x\n", x, 0x3299U);
+   x = udf_crc(bytes, sizeof bytes);
+   printf("udf_crc: calculated = %4.4x, correct = %4.4x\n", x, 0x3299U);
 
return 0;
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] UDF: fix function name from udf_crc16 to udf_crc

2007-06-29 Thread Cyrill Gorcunov
We have to change udf_crc16() name to udf_crc()
to be able to play with CRC test.

Signed-off-by: Cyrill Gorcunov [EMAIL PROTECTED]
---

 fs/udf/crc.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/fs/udf/crc.c b/fs/udf/crc.c
index 490aebe..85aaee5 100644
--- a/fs/udf/crc.c
+++ b/fs/udf/crc.c
@@ -105,8 +105,8 @@ int main(void)
 {
unsigned short x;
 
-   x = udf_crc16(bytes, sizeof bytes);
-   printf(udf_crc16: calculated = %4.4x, correct = %4.4x\n, x, 0x3299U);
+   x = udf_crc(bytes, sizeof bytes);
+   printf(udf_crc: calculated = %4.4x, correct = %4.4x\n, x, 0x3299U);
 
return 0;
 }

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/