Package: src:cloop
Version: 3.14.1.2
Severity: grave

Building cloop-src for Linux 4.18 fails:

  CC [M]  /usr/src/modules/cloop/cloop.o
In file included from 
/usr/src/linux-headers-4.18.0-3-common/include/linux/kernel.h:10:0,
                 from /usr/src/modules/cloop/cloop.c:34:
/usr/src/modules/cloop/cloop.c: In function 'cloop_do_request':
/usr/src/modules/cloop/cloop.c:410:36: error: 'struct request' has no member 
named 'cmd_type'
    if (unlikely(req == NULL || (req->cmd_type != REQ_TYPE_FS)))
                                    ^
/usr/src/linux-headers-4.18.0-3-common/include/linux/compiler.h:77:42: note: in 
definition of macro 'unlikely'
 # define unlikely(x) __builtin_expect(!!(x), 0)
                                          ^
/usr/src/modules/cloop/cloop.c:410:50: error: 'REQ_TYPE_FS' undeclared (first 
use in this function); did you mean 'DESCTYPE_S'?
    if (unlikely(req == NULL || (req->cmd_type != REQ_TYPE_FS)))
                                                  ^
/usr/src/linux-headers-4.18.0-3-common/include/linux/compiler.h:77:42: note: in 
definition of macro 'unlikely'
 # define unlikely(x) __builtin_expect(!!(x), 0)
                                          ^
...

These definitions were removed in Linux 4.11 so this is not a new
issue.

Ben.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to