udf: fix coding style
fix coding style errors found by checkpatch: - assignments in if conditions - braces {} around single statement blocks - no spaces after commas - printks without KERN_* - lines longer than 80 characters - spaces between "type *" and variable name before: 192 errors, 561 warnings, 8987 lines checked after: 1 errors, 38 warnings, 9468 lines checked Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Jan Kara <jack@suse.cz> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
bd45a420f9
commit
4b11111aba
@ -79,7 +79,7 @@ static uint16_t crc_table[256] = {
|
||||
* July 21, 1997 - Andrew E. Mileski
|
||||
* Adapted from OSTA-UDF(tm) 1.50 standard.
|
||||
*/
|
||||
uint16_t udf_crc(uint8_t * data, uint32_t size, uint16_t crc)
|
||||
uint16_t udf_crc(uint8_t *data, uint32_t size, uint16_t crc)
|
||||
{
|
||||
while (size--)
|
||||
crc = crc_table[(crc >> 8 ^ *(data++)) & 0xffU] ^ (crc << 8);
|
||||
|
Reference in New Issue
Block a user