Merge tag 'driver-core-4.0-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core

Pull driver core fixes from Greg KH:
"Here are two bugfixes for things reported. One regression in kernfs,
and another issue fixed in the LZ4 code that was fixed in the
"upstream" codebase that solves a reported kernel crash

Both have been in linux-next for a while"

* tag 'driver-core-4.0-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
LZ4 : fix the data abort issue
kernfs: handle poll correctly on 'direct_read' files.

Changed files
+4
fs
kernfs
lib
+1
fs/kernfs/file.c
··· 207 207 goto out_free; 208 208 } 209 209 210 + of->event = atomic_read(&of->kn->attr.open->event); 210 211 ops = kernfs_ops(of->kn); 211 212 if (ops->read) 212 213 len = ops->read(of, buf, len, *ppos);
+3
lib/lz4/lz4_decompress.c
··· 139 139 /* Error: request to write beyond destination buffer */ 140 140 if (cpy > oend) 141 141 goto _output_error; 142 + if ((ref + COPYLENGTH) > oend || 143 + (op + COPYLENGTH) > oend) 144 + goto _output_error; 142 145 LZ4_SECURECOPY(ref, op, (oend - COPYLENGTH)); 143 146 while (op < cpy) 144 147 *op++ = *ref++;