[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220225164231.904173-1-broonie@kernel.org>
Date: Fri, 25 Feb 2022 16:42:31 +0000
From: broonie@...nel.org
To: Dave Airlie <airlied@...ux.ie>,
DRI <dri-devel@...ts.freedesktop.org>
Cc: Allen Chen <allen.chen@....com.tw>,
Hsin-yi Wang <hsinyi@...omium.org>,
Hermes Wu <hermes.wu@....com.tw>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Robert Foss <robert.foss@...aro.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: linux-next: build failure after merge of the drm tree
Hi all,
After merging the drm tree, today's linux-next build (x86 allmodconfig)
failed like this:
lib/strncpy_from_user.o: warning: objtool: strncpy_from_user()+0x10b: call to do_strncpy_from_user() with UACCESS enabled
lib/strnlen_user.o: warning: objtool: strnlen_user()+0xbb: call to do_strnlen_user() with UACCESS enabled
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c: In function 'receive_timing_debugfs_show':
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3077:23: error: array subscript 4096 is outside array bounds of 'u8[200]' {aka 'unsigned char[200]'} [-Werror=array-bounds]
3077 | u8 *str = read_buf, *end = read_buf + PAGE_SIZE;
| ^~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3076:5: note: while referencing 'read_buf'
3076 | u8 read_buf[READ_BUFFER_SIZE];
| ^~~~~~~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3077:23: error: array subscript 4096 is outside array bounds of 'u8[200]' {aka 'unsigned char[200]'} [-Werror=array-bounds]
3077 | u8 *str = read_buf, *end = read_buf + PAGE_SIZE;
| ^~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3076:5: note: while referencing 'read_buf'
3076 | u8 read_buf[READ_BUFFER_SIZE];
| ^~~~~~~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3077:23: error: array subscript 4096 is outside array bounds of 'u8[200]' {aka 'unsigned char[200]'} [-Werror=array-bounds]
3077 | u8 *str = read_buf, *end = read_buf + PAGE_SIZE;
| ^~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3076:5: note: while referencing 'read_buf'
3076 | u8 read_buf[READ_BUFFER_SIZE];
| ^~~~~~~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3077:23: error: array subscript 4096 is outside array bounds of 'u8[200]' {aka 'unsigned char[200]'} [-Werror=array-bounds]
3077 | u8 *str = read_buf, *end = read_buf + PAGE_SIZE;
| ^~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3076:5: note: while referencing 'read_buf'
3076 | u8 read_buf[READ_BUFFER_SIZE];
| ^~~~~~~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3077:23: error: array subscript 4096 is outside array bounds of 'u8[200]' {aka 'unsigned char[200]'} [-Werror=array-bounds]
3077 | u8 *str = read_buf, *end = read_buf + PAGE_SIZE;
| ^~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3076:5: note: while referencing 'read_buf'
3076 | u8 read_buf[READ_BUFFER_SIZE];
| ^~~~~~~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3077:23: error: array subscript 4096 is outside array bounds of 'u8[200]' {aka 'unsigned char[200]'} [-Werror=array-bounds]
3077 | u8 *str = read_buf, *end = read_buf + PAGE_SIZE;
| ^~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3076:5: note: while referencing 'read_buf'
3076 | u8 read_buf[READ_BUFFER_SIZE];
| ^~~~~~~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3077:23: error: array subscript 4096 is outside array bounds of 'u8[200]' {aka 'unsigned char[200]'} [-Werror=array-bounds]
3077 | u8 *str = read_buf, *end = read_buf + PAGE_SIZE;
| ^~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3076:5: note: while referencing 'read_buf'
3076 | u8 read_buf[READ_BUFFER_SIZE];
| ^~~~~~~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3077:23: error: array subscript 4096 is outside array bounds of 'u8[200]' {aka 'unsigned char[200]'} [-Werror=array-bounds]
3077 | u8 *str = read_buf, *end = read_buf + PAGE_SIZE;
| ^~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3076:5: note: while referencing 'read_buf'
3076 | u8 read_buf[READ_BUFFER_SIZE];
| ^~~~~~~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3077:23: error: array subscript 4096 is outside array bounds of 'u8[200]' {aka 'unsigned char[200]'} [-Werror=array-bounds]
3077 | u8 *str = read_buf, *end = read_buf + PAGE_SIZE;
| ^~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3076:5: note: while referencing 'read_buf'
3076 | u8 read_buf[READ_BUFFER_SIZE];
| ^~~~~~~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3077:23: error: array subscript 4096 is outside array bounds of 'u8[200]' {aka 'unsigned char[200]'} [-Werror=array-bounds]
3077 | u8 *str = read_buf, *end = read_buf + PAGE_SIZE;
| ^~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3076:5: note: while referencing 'read_buf'
3076 | u8 read_buf[READ_BUFFER_SIZE];
| ^~~~~~~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3077:23: error: array subscript 4096 is outside array bounds of 'u8[200]' {aka 'unsigned char[200]'} [-Werror=array-bounds]
3077 | u8 *str = read_buf, *end = read_buf + PAGE_SIZE;
| ^~~
/tmp/next/build/drivers/gpu/drm/bridge/ite-it6505.c:3076:5: note: while referencing 'read_buf'
3076 | u8 read_buf[READ_BUFFER_SIZE];
| ^~~~~~~~
cc1: all warnings being treated as errors
Caused by commit
b5c84a9edcd418 ("drm/bridge: add it6505 driver")
I have used the drm tree from yesterday instead.
Powered by blists - more mailing lists