Re: does drivers/staging/rtl8821ae/btcoexist/HalBtc8812a1Ant.c have an uncommon character set ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 14, 2014 at 07:36:31PM +0200, Toralf Förster wrote:
> The html formatter of the static checker Cppcheck stumbles over that file. In fact, even this small python snippet :
> 
> #!/usr/bin/env python
> 
> import io
> 
> source_filename = "./drivers/staging/rtl8821ae/btcoexist/HalBtc8812a1Ant.c";
> 
> try:
> 	with io.open(source_filename, 'r') as input_file:
> 		content = input_file.read()
> except IOError:
> 	sys.stderr.write("ERROR: Source file '%s' not found.\n" %
> 			source_filename)
> 
> 
> 
> fails with : UnicodeDecodeError: 'utf8' codec can't decode byte 0xb3 in position 47021: invalid start byte

Then the tool needs to be fixed, there's nothing wrong with that
character in the kernel source tree.

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel





[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux