]> git.baikalelectronics.ru Git - kernel.git/commit
drm/qxl: Use 'unsigned int' instead of 'bool'
authorShayenne da Luz Moura <shayenneluzmoura@gmail.com>
Fri, 26 Oct 2018 19:24:58 +0000 (16:24 -0300)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 30 Oct 2018 06:20:01 +0000 (07:20 +0100)
commit0440c6a136d62d93cc0d83d65e57eeacbc09c210
tree505e730c39786dd4349b3cdcd67eb39172771b79
parentc85cd59368af3ecb17e22732cf9adce7b2f432af
drm/qxl: Use 'unsigned int' instead of 'bool'

Use 'unsigned int' with bitfield instead of 'bool' to avoid alignment
issues and remove checkpatch.pl check:

CHECK: Avoid using bool structure members because of possible alignment
issues

Signed-off-by: Shayenne da Luz Moura <shayenneluzmoura@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/fcd9d7ea7eec1ac6a3ad9ad16e0fc9ef13c089fd.1540579956.git.shayenneluzmoura@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/qxl/qxl_drv.h