Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp227369pxb; Wed, 15 Sep 2021 00:09:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpb8G6KYr/URb8zK2FAB+jMe5COjYfP/x1QYr+9lBKhy7mDyIRViwmg+hzjruCnjvYUE0L X-Received: by 2002:a92:c56d:: with SMTP id b13mr15504452ilj.317.1631689785710; Wed, 15 Sep 2021 00:09:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631689785; cv=none; d=google.com; s=arc-20160816; b=q6409SjuKLAMh/6xxc0nwiK8bTwHw3p0+XKd2uq3hrNJsfHGgrIlc4mWv6ODm0OvmE 6IxVayEmiEqptQAORIApGU/oDhOulvTcF3gA3hESCTdin+iy3wdMEjGjh4hJ8BUFVWpr UEFNjS+oqD1rgVmX0FsYtRjJiakWgL0lPlXiIWHVLxZ9olyIXAGdKEmUQbauvKWfLZWc zL012UZ3C9GyYsnfFH3FJlRwt6SS7XJN8ktQI/YYWgdPIoC9CshpHrW4mxrmGIQ9SYG6 Hg2iVwelbEcBT4ljSRAnAfkVvo7UbNdlJbyx2Bwe+s/yS7zse6FQAorXAa6hObh8fyEf ssDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=GIU4MlqY+ZV8L1PJLV64O5FnoZLkCofL1zHAo2PxhYg=; b=QWEP4gZjUwEt+rJwUvJ6125osVQWmxIHhKHY4TsgQz1hfI9ci2TVeK+trofecRD+uw J6lkW4aF/7gA27z+j0smc71TgSX5+equirw4r8Zqxh3liwZFXirmGrCMtdQtFM8gNpEJ RYEfPZzWfJuKvpH06MaErRK90zhWKYblrYX2eJHqLF4UCXoIy5S5MpUIkwVGYupARrUb vk7Evyt9KKMEaJi4WlxBq25xztfNRC8KlNmj7NAX1SZhRX/an+d7pBNwJnvkLFzsJcAP MN7CjUV9Q05xTHrwCGuooT/zurJpCW4hPWSvvV/grXMNkjPJt3br+wCBvPp6WtRHapio C5/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c8si11551136iot.67.2021.09.15.00.09.28; Wed, 15 Sep 2021 00:09:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236612AbhIOHJu (ORCPT + 99 others); Wed, 15 Sep 2021 03:09:50 -0400 Received: from mail-vs1-f51.google.com ([209.85.217.51]:45740 "EHLO mail-vs1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236522AbhIOHJt (ORCPT ); Wed, 15 Sep 2021 03:09:49 -0400 Received: by mail-vs1-f51.google.com with SMTP id k10so1752344vsp.12; Wed, 15 Sep 2021 00:08:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GIU4MlqY+ZV8L1PJLV64O5FnoZLkCofL1zHAo2PxhYg=; b=t5wSCiuqpIk4aPQChedYveD2Ixlo4w3FAsvzPGsL8KN5d6R9Xu1rvPgruc+OHaDvRT c3+3ovFLbHDqnfDgskFvJpy86a4CH0G2BB88g2Fg/bRNJRIhNUoSkVIrVDLEr/fa9OEw LPvXNuamgoqQVnwpV3evzaT4eqjiQhloBV8NuVdyjtsiwCPpXe5Ax3nfPJbciBVfSt5A e/6UrQrYdFOnWVYHXOARDsdL0BuQlq4Q7IyrC5XawxOKf1fuxf1sKlYqL61/7pcKiVeF l3+5cqGet5OFtsdkSBjFb+Yj+sNkNaLRpyWTLVFh14Du/EkwhaPdtkzDDjElSQRi8fDm /omA== X-Gm-Message-State: AOAM533sUdTDgac1v6Wl71w6CjNyUe2qEV1s9YoVT6Bffk+yceEyvHl2 nEQmWetsGFi1wOV3GTuwcBPkVrL+wokQssaHQJw= X-Received: by 2002:a05:6102:2417:: with SMTP id j23mr2255967vsi.35.1631689710496; Wed, 15 Sep 2021 00:08:30 -0700 (PDT) MIME-Version: 1.0 References: <20210915035227.630204-1-linux@roeck-us.net> <20210915035227.630204-3-linux@roeck-us.net> In-Reply-To: <20210915035227.630204-3-linux@roeck-us.net> From: Geert Uytterhoeven Date: Wed, 15 Sep 2021 09:08:19 +0200 Message-ID: Subject: Re: [PATCH v2 2/4] net: i825xx: Use absolute_pointer for memcpy from fixed memory location To: Guenter Roeck Cc: Linus Torvalds , Richard Henderson , Ivan Kokshaysky , Matt Turner , "James E . J . Bottomley" , Helge Deller , "David S . Miller" , Jakub Kicinski , alpha , Linux Kernel Mailing List , Parisc List , netdev , linux-sparse@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 15, 2021 at 5:52 AM Guenter Roeck wrote: > gcc 11.x reports the following compiler warning/error. > > drivers/net/ethernet/i825xx/82596.c: In function 'i82596_probe': > ./arch/m68k/include/asm/string.h:72:25: error: > '__builtin_memcpy' reading 6 bytes from a region of size 0 > [-Werror=stringop-overread] > > Use absolute_pointer() to work around the problem. > > Cc: Geert Uytterhoeven > Signed-off-by: Guenter Roeck Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds