О системе
Host: dexx-desktop Kernel: 5.3.0-46-generic x86_64 bits: 64 compiler: gcc
v: 7.5.0 Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia
base: Ubuntu 18.04 bionic
Machine:
Type: Desktop Mobo: ASUSTeK model: M5A97 LE R2.0 v: Rev 1.xx
serial: <filter> BIOS: American Megatrends v: 2701 date: 03/24/2016
CPU:
Topology: 6-Core model: AMD FX-6300 bits: 64 type: MCP arch: Bulldozer
L2 cache: 2048 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 45511
Speed: 1516 MHz min/max: 1400/3500 MHz Core speeds (MHz): 1: 1518 2: 1519
3: 1517 4: 1517 5: 1517 6: 1517
Graphics:
Device-1: AMD Cape Verde PRO [Radeon HD 7750/8740 / R7 250E]
vendor: Hightech Information System driver: radeon v: kernel
bus ID: 01:00.0
Display: x11 server: X.Org 1.20.5 driver: modesetting unloaded: fbdev,vesa
tty: N/A
OpenGL: renderer: AMD VERDE (DRM 2.50.0 5.3.0-46-generic LLVM 9.0.0)
v: 4.5 Mesa 19.2.8 direct render: Yes
Audio:
Device-1: AMD SBx00 Azalia vendor: ASUSTeK M5A78L LE driver: snd_hda_intel
v: kernel bus ID: 00:14.2
Device-2: AMD Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
vendor: Hightech Information System driver: snd_hda_intel v: kernel
bus ID: 01:00.1
Device-3: Philips s SAA7134/SAA7135HL Video Broadcast Decoder
driver: saa7134 v: 0, 2, 17 bus ID: 04:06.0
Sound Server: ALSA v: k5.3.0-46-generic
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK P8 series driver: r8169 v: kernel port: d000
bus ID: 02:00.0
IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Device-2: VIA VT6105/VT6106S [Rhine-III]
vendor: D-Link System DFE-520TX Fast PCI driver: via-rhine v: N/A
port: c000 bus ID: 04:05.0
IF: enp4s5 state: down mac: <filter>
Drives:
Local Storage: total: 2.28 TiB used: 19.46 GiB (0.8%)
ID-1: /dev/sda vendor: Toshiba model: DT01ACA100 size: 931.51 GiB
ID-2: /dev/sdb vendor: Western Digital model: WD5000AZRX-00A8LB0
size: 465.76 GiB
ID-3: /dev/sdc vendor: Western Digital model: WD10EZEX-00BN5A0
size: 931.51 GiB
ID-4: /dev/sdd type: USB model: Mass Storage Device size: 7.48 GiB
Partition:
ID-1: / size: 914.76 GiB used: 17.50 GiB (1.9%) fs: ext4 dev: /dev/dm-0
ID-2: swap-1 size: 976.0 MiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-1
Sensors:
System Temperatures: cpu: 27.2 C mobo: N/A gpu: radeon temp: 59 C
Fan Speeds (RPM): cpu: 0
Info:
Processes: 207 Uptime: 1h 02m Memory: 7.68 GiB used: 2.32 GiB (30.2%)
Init: systemd runlevel: 5 Compilers: gcc: 7.5.0 Shell: bash v: 4.4.20
inxi: 3.0.32
make драйвера
[sudo] пароль для dexx:
make -C /lib/modules/5.3.0-46-generic/build M=/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver
make[1]: вход в каталог «/usr/src/linux-headers-5.3.0-46-generic»
CC [M] /home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.o
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:15,
from /home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:18:
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c: In function ‘ch34x_write_bulk_callback’:
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:248:4: note: in expansion of macro ‘err’
err("%s - nonzero write bulk status received: %d", __func__, urb->status );
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c: In function ‘ch34x_fops_read’:
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:15:20: note: in expansion of macro ‘KERN_SOH’
#define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:40:13: note: in expansion of macro ‘KERN_DEBUG’
printk( KERN_DEBUG "%s %d: " format "\n", __FILE__, __LINE__, ##arg )
^~~~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:286:2: note: in expansion of macro ‘dbg’
dbg("count %d,->bytes_read %d,->mNewlen %d,->mBuffer[0] %d,->[1] %d,->[2]%d,->[3]%d",count,bytes_read,mNewlen,mBuffer[0],mBuffer[1],mBuffer[2],mBuffer[3]);
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:286:14: note: format string is defined here
dbg("count %d,->bytes_read %d,->mNewlen %d,->mBuffer[0] %d,->[1] %d,->[2]%d,->[3]%d",count,bytes_read,mNewlen,mBuffer[0],mBuffer[1],mBuffer[2],mBuffer[3]);
~^
%ld
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:15,
from /home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:18:
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:15:20: note: in expansion of macro ‘KERN_SOH’
#define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:40:13: note: in expansion of macro ‘KERN_DEBUG’
printk( KERN_DEBUG "%s %d: " format "\n", __FILE__, __LINE__, ##arg )
^~~~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:286:2: note: in expansion of macro ‘dbg’
dbg("count %d,->bytes_read %d,->mNewlen %d,->mBuffer[0] %d,->[1] %d,->[2]%d,->[3]%d",count,bytes_read,mNewlen,mBuffer[0],mBuffer[1],mBuffer[2],mBuffer[3]);
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:286:30: note: format string is defined here
dbg("count %d,->bytes_read %d,->mNewlen %d,->mBuffer[0] %d,->[1] %d,->[2]%d,->[3]%d",count,bytes_read,mNewlen,mBuffer[0],mBuffer[1],mBuffer[2],mBuffer[3]);
~^
%ld
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:15,
from /home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:18:
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long unsigned int’ [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:15:20: note: in expansion of macro ‘KERN_SOH’
#define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:40:13: note: in expansion of macro ‘KERN_DEBUG’
printk( KERN_DEBUG "%s %d: " format "\n", __FILE__, __LINE__, ##arg )
^~~~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:286:2: note: in expansion of macro ‘dbg’
dbg("count %d,->bytes_read %d,->mNewlen %d,->mBuffer[0] %d,->[1] %d,->[2]%d,->[3]%d",count,bytes_read,mNewlen,mBuffer[0],mBuffer[1],mBuffer[2],mBuffer[3]);
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:286:43: note: format string is defined here
dbg("count %d,->bytes_read %d,->mNewlen %d,->mBuffer[0] %d,->[1] %d,->[2]%d,->[3]%d",count,bytes_read,mNewlen,mBuffer[0],mBuffer[1],mBuffer[2],mBuffer[3]);
~^
%ld
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:15,
from /home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:18:
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:302:3: note: in expansion of macro ‘err’
err("bulk_in_buffer malloc error");
^~~
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:325:4: note: in expansion of macro ‘err’
err("usb_bulk_msg out error");
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:333:14: error: passing argument 5 of ‘usb_bulk_msg’ from incompatible pointer type [-Werror=incompatible-pointer-types]
Bytes, &Returnlen, 10000 );
^
In file included from /home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:28:0:
./include/linux/usb.h:1783:12: note: expected ‘int *’ but argument is of type ‘long unsigned int *’
extern int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe,
^~~~~~~~~~~~
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:15,
from /home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:18:
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:339:4: note: in expansion of macro ‘err’
err("usb_bulk_msg in error");
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c: In function ‘ch34x_fops_write’:
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:373:3: note: in expansion of macro ‘err’
err("Data Overlimited,Must Under MAX_BUFFER_LENGTH");
^~~
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:454:4: note: in expansion of macro ‘err’
err("%s - failed submitting write urb,line:%d",
^~~
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:509:3: note: in expansion of macro ‘err’
err( "%s -failed to write submit urb,line:%d",
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c: In function ‘ch34x_WriteData’:
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘const char *’ [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:611:3: note: in expansion of macro ‘err’
err("%s - failed to submit writing urb,error %d,line %d",
^~~
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:611:3: note: in expansion of macro ‘err’
err("%s - failed to submit writing urb,error %d,line %d",
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c: In function ‘ch34x_data_write_read’:
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:15:20: note: in expansion of macro ‘KERN_SOH’
#define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:40:13: note: in expansion of macro ‘KERN_DEBUG’
printk( KERN_DEBUG "%s %d: " format "\n", __FILE__, __LINE__, ##arg )
^~~~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:652:2: note: in expansion of macro ‘dbg’
dbg("iLength is %d\n",iLength );
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:652:19: note: format string is defined here
dbg("iLength is %d\n",iLength );
~^
%ld
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:15,
from /home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:18:
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:655:3: note: in expansion of macro ‘err’
err(" The length input error");
^~~
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:663:3: note: in expansion of macro ‘err’
err("copy error");
^~~
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:734:3: note: in expansion of macro ‘err’
err("%s-failed submitting write urb in write_read", __func__);
^~~
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long unsigned int’ [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:15:20: note: in expansion of macro ‘KERN_SOH’
#define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:40:13: note: in expansion of macro ‘KERN_DEBUG’
printk( KERN_DEBUG "%s %d: " format "\n", __FILE__, __LINE__, ##arg )
^~~~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:740:2: note: in expansion of macro ‘dbg’
dbg("mSave : %d, readtimes : %d, totallen : %d\n", mSave, readtimes, totallen);
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:740:47: note: format string is defined here
dbg("mSave : %d, readtimes : %d, totallen : %d\n", mSave, readtimes, totallen);
~^
%ld
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:15,
from /home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:18:
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:15:20: note: in expansion of macro ‘KERN_SOH’
#define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:40:13: note: in expansion of macro ‘KERN_DEBUG’
printk( KERN_DEBUG "%s %d: " format "\n", __FILE__, __LINE__, ##arg )
^~~~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:753:2: note: in expansion of macro ‘dbg’
dbg("The actual length of Read is %d", totallen);
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:753:37: note: format string is defined here
dbg("The actual length of Read is %d", totallen);
~^
%ld
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:15,
from /home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:18:
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c: In function ‘ch34x_fops_open’:
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:809:3: note: in expansion of macro ‘err’
err( "%s-error,cannot find device for minor :%d",
^~~
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:818:3: note: in expansion of macro ‘err’
err("Get interface data error");
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c: In function ‘ch34x_fops_ioctl’:
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:893:6: note: in expansion of macro ‘err’
err("CH34x_FUNCTION_SETPARA_MODE Error");
^~~
./include/linux/kern_levels.h:5:18: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:15:20: note: in expansion of macro ‘KERN_SOH’
#define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:40:13: note: in expansion of macro ‘KERN_DEBUG’
printk( KERN_DEBUG "%s %d: " format "\n", __FILE__, __LINE__, ##arg )
^~~~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:894:5: note: in expansion of macro ‘dbg’
dbg("------>SetParaMode - ch34x_arg %x", ch34x_arg);
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:894:42: note: format string is defined here
dbg("------>SetParaMode - ch34x_arg %x", ch34x_arg);
~^
%lx
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:15,
from /home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:18:
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:15:20: note: in expansion of macro ‘KERN_SOH’
#define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:40:13: note: in expansion of macro ‘KERN_DEBUG’
printk( KERN_DEBUG "%s %d: " format "\n", __FILE__, __LINE__, ##arg )
^~~~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:929:5: note: in expansion of macro ‘dbg’
dbg("------> length :%d",bytes_write);
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:929:27: note: format string is defined here
dbg("------> length :%d",bytes_write);
~^
%ld
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:15,
from /home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:18:
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:15:20: note: in expansion of macro ‘KERN_SOH’
#define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:40:13: note: in expansion of macro ‘KERN_DEBUG’
printk( KERN_DEBUG "%s %d: " format "\n", __FILE__, __LINE__, ##arg )
^~~~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:940:5: note: in expansion of macro ‘dbg’
dbg("Input number is %d\n",*((long *)ch34x_arg));
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:940:27: note: format string is defined here
dbg("Input number is %d\n",*((long *)ch34x_arg));
~^
%ld
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:15,
from /home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:18:
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:947:6: note: in expansion of macro ‘err’
err("Read Error");
^~~
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:15:20: note: in expansion of macro ‘KERN_SOH’
#define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:40:13: note: in expansion of macro ‘KERN_DEBUG’
printk( KERN_DEBUG "%s %d: " format "\n", __FILE__, __LINE__, ##arg )
^~~~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:950:5: note: in expansion of macro ‘dbg’
dbg("Read bytes is %d", bytes_read);
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:950:25: note: format string is defined here
dbg("Read bytes is %d", bytes_read);
~^
%ld
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:15,
from /home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:18:
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:960:6: note: in expansion of macro ‘err’
err("Init Parallel Error");
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:854:6: warning: unused variable ‘err’ [-Wunused-variable]
int err = 0;
^~~
In file included from ./include/linux/printk.h:7:0,
from ./include/linux/kernel.h:15,
from /home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:18:
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c: In function ‘ch34x_pis_probe’:
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:1012:3: note: in expansion of macro ‘err’
err("Out of Memory");
^~~
./include/linux/kern_levels.h:5:18: warning: too many arguments for format [-Wformat-extra-args]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:46:13: note: in expansion of macro ‘KERN_ERR’
printk( KERN_ERR KBUILD_MODNAME ":" format "\n", __FILE__, __LINE__, ##arg)
^~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:1064:3: note: in expansion of macro ‘err’
err( "usb_get_dev error,disable to use this device" );
^~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c: In function ‘ch34x_fops_ioctl’:
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:673:8: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if( i * readtimes > MAX_BUFFER_LENGTH || mSave == 0 || readtimes == 0 )
~~^~~~~~~~~~~
/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.c:649:6: note: ‘i’ was declared here
int i, mSave; // the number of data in a block
^
cc1: some warnings being treated as errors
scripts/Makefile.build:288: recipe for target '/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.o' failed
make[2]: *** [/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver/ch34x_pis.o] Error 1
Makefile:1655: recipe for target '_module_/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver' failed
make[1]: *** [_module_/home/dexx/Загрузки/ch341-parport-master/CH341PAR_LINUX/driver] Error 2
make[1]: выход из каталога «/usr/src/linux-headers-5.3.0-46-generic»
Makefile:5: recipe for target 'default' failed
make: *** [default] Error 2
Сам многострадальный драйвер, вдруг кто попробовать захочет
https://yadi.sk/d/XV2kJbADlC7spg
Уже третий день плюхаюсь. Если не получится, то так уж и быть придется на винде сидеть, пока не найду подходящего решения.