Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp724937pxm; Fri, 25 Feb 2022 18:24:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJzRufVuEt+hpNZW1OyoeQWY/XXNYPBnBPz0vZu25UslL5m0s+p2MU5Ymv/l0CiHNGUV5I7a X-Received: by 2002:a63:1203:0:b0:374:4ee8:8f20 with SMTP id h3-20020a631203000000b003744ee88f20mr8345911pgl.294.1645842283343; Fri, 25 Feb 2022 18:24:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645842283; cv=none; d=google.com; s=arc-20160816; b=b5w6KP8ipeIBzEAR6qs9P9wdZFgSMf07vY27Rx8UUsdZMyyY41bNBDv28KqwGa2PK5 0f87Pju9y2S849J4gRzUSQXmEJnVLB1PqXhP8pHDRkYrmuxih5G3gd77UfmW3COlZlFE zM9RDUL7/9agozeQEzyVJg5+MTVTTds9SwjSHXhmcD6UGRmomPuU1rLfdeY6177D4WDP 4gmfWGP/QfWmmAOmWNUYIBX8jCY+BjkXyTbOR5E2ZNnr0RTrdswoeJQI8b0xkmQDFRUI +AeSAT/zXnUarp7qBQE1hwn6ckiMICRxrgZPHIfTfJTyHbiZH79u0DdPvX6kpgoT8WKC NxkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=8I8fmE7+Bnh0VVSeLqhoLdXvGJFAC9O6UDtuRWrSpw4=; b=Oa+sarMQ3dqhPKgm8VGC1m3C3MNUkw5K+U9KCA/+cDLhpsMgl4rXNS7Om+UwmKXrh5 i15Fp4uqdSp3K05AtCrr2cXZ3ykUfT8ckg/e7zV3qjwkWUsrwlmewEGMy/uy5Dw8VyHb JupZjxDInl0yFR/i/ipK0MXVbzovYwxJyzTRyytwMWjSwrhy7cLQNgFoJPTBWy3xaaIB mYWWllGx6PKdxEUkdt4k2kp8W8HAUwVglgwKeEY7ITOMPji5akuF7P0uJkyssJNNbD81 pazJmUXNoKzFY8rKimBHhJmVzmqCQ6dVBEqde1/kzIYo3L7mBEj61YDZoQFPVIzVPOCk o0pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="U/Ibm/gp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s13-20020a63ff4d000000b003701a916c65si3486592pgk.170.2022.02.25.18.24.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 18:24:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="U/Ibm/gp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A26E91AA052; Fri, 25 Feb 2022 17:53:20 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243172AbiBYQnm (ORCPT + 99 others); Fri, 25 Feb 2022 11:43:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243222AbiBYQni (ORCPT ); Fri, 25 Feb 2022 11:43:38 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0876475207; Fri, 25 Feb 2022 08:43:03 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7BEE261C1A; Fri, 25 Feb 2022 16:43:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EFBE0C340E7; Fri, 25 Feb 2022 16:42:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645807381; bh=APXY3EnRpsBOupquCiWiXnjHHke28N5/pcJDyEoZ/UQ=; h=From:To:Cc:Subject:Date:From; b=U/Ibm/gp6t9I+K0zJ8pjRvlOOUkTCoRp4vLm3L/rDBwerli1baLd0g/ZdU88LPdBy RZ4d7Y2jBu/del2aMnr10HRGLH5u8IOuIW9/5AMzEudVp3LwC3U8mkSqyAjDgXMvON HBPz0nA6WcKBDsnZO32sKJ2K7Xg6pULjiaRhDJETda0LhPM1KGZVg5aIQnKMW1JPSY UHr+6AE2mSRh9IXr/b1zi1Rcbo13RxP7hGp0F3KFLBA3fycHF6yEFBsRZIkzP/y30g KKzqGiqxA8eL3nSmc806TYft/Qv9BSCbsKVvrIxu94EfNCuaA3eHdzzkpzhOTA9ElV Bq99ghUu2qnwA== From: broonie@kernel.org To: Dave Airlie , DRI Cc: Allen Chen , Hsin-yi Wang , Hermes Wu , AngeloGioacchino Del Regno , Robert Foss , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the drm tree Date: Fri, 25 Feb 2022 16:42:31 +0000 Message-Id: <20220225164231.904173-1-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.