Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1506710imm; Fri, 22 Jun 2018 19:09:21 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLX6TBp1rleNXLOxGXTC6gDY/NWjsQoeafeIC+Ke97o9/8mVTEPYLVjwzz30YzcGKpvbZI3 X-Received: by 2002:a65:4249:: with SMTP id d9-v6mr3397202pgq.362.1529719761331; Fri, 22 Jun 2018 19:09:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529719761; cv=none; d=google.com; s=arc-20160816; b=YzTbx02yeYTNotDrGyjLr51gYiILAkPcS5dbYBAUVqfjOm7DsCWOr6TxkVTzGBFjtV ocMBunjA3rwUpltbV6SkE60lLFomNwXq0mFc/nVs1Yt9crQFfCiG66ImA/9ATatetQxB P5nejJ5EexRgNSzWMCCbA2SbRVu0Qqst311W8+egr7NWerSE9b+/he04nxnuSUGKdbdO J9wZry0phmHfhoBGIe55btEw0Bu3Lu3+dtauqrgGHMBeVXGAQj1uxij8W02+Vbv+pBp6 O3/aebmbcqd1Vo9Ns2CJs+0ryJTXcTUahbJ+W64TK8BAUbOESmQbOioMIc05iqaZQRC4 HdIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=LPvY1MDqn4aCUMUwdeifiAc6SZjpV3XiIvjaQxgYHjw=; b=KD4n6GB/vKZpLEA06q1yKfm2iq/CE2Fl4YORuayz5z37ztdeFaUPDSxu3OpSfG53wY T9GJDbMeQHY6mfrF+r0byqR7OzecJtM+pKe97Vd2B0G4VaYuM6/pF1Oill3AJyKovffJ z59voIIOvPUCctdqZN3hH/Qr71A5QfeS/AuvV8lKpD5AF1ylHgOe/uWLlTL9GreYyzV9 my7OVJrqrXdFrxdMhhfnM5nj+yuH8p8vXr3fJhSF0db1CuQP2aSLozfhC/pZ+Zq28uBb uCH0hZ9/wh/z7W9RDeERu1DVkBAQRWgOv5x78Hs5jYIJvpqDf/Dk46E6J8227uCNtXOL jI3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pDkqYcDq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v187-v6si2737494pgv.678.2018.06.22.19.09.05; Fri, 22 Jun 2018 19:09:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pDkqYcDq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934568AbeFWCIS (ORCPT + 99 others); Fri, 22 Jun 2018 22:08:18 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:46179 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934307AbeFWCIQ (ORCPT ); Fri, 22 Jun 2018 22:08:16 -0400 Received: by mail-pg0-f67.google.com with SMTP id d2-v6so3689044pga.13; Fri, 22 Jun 2018 19:08:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LPvY1MDqn4aCUMUwdeifiAc6SZjpV3XiIvjaQxgYHjw=; b=pDkqYcDqEkPInEeBGLnkYtk+0j3Nyn17z4pDqFlJH9oBAnF2Lj2oEUIyfcdnaTIw9f OC5qrjPevwRLEJxBliTuHRkkjlwyT6IDzxdNLy05Y69V1iroq4F9oLtFeUR/e45CsCV+ 3zqBILltSqBZLina4rOQBLZKuAI2CAclht6OExkOUyxaFOOY3PSMBO9c4hBxTVkyXfV/ On4yXVx8SUBypykoL4CZ1jqz4G0t7Dw5pHAlwixgtahQ4yCiefsvl/SvHIrXvDR8GBSb ThoDR7d9CYQqzahLenVGKVxOswxfwHKSIrJpToUEfBbHqNgFU0ia8p7+MTvSoGb3knzr Hh8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LPvY1MDqn4aCUMUwdeifiAc6SZjpV3XiIvjaQxgYHjw=; b=t2hiRwmxMrTpcHjr+LVNl9lEb0FI07ckmvz+6omUnHKwdZlXUHKmZhDGd+iw7NrnK1 90mH0wW/6R9pwe6+e9RsOnSpnN9ep02LvJWYLq20YLuKWv6ma7HaqfW4qjpO1mvnVKsh dGXOquSCymCgonp61mQteyT9q9AuZTlNo5xF7tagG+qGbCB//W9nlFO00vIeKl0ISfUK aOSM4nAGfxBTDNK2qIELZ4Ppcv+JCWmCbdVgxVYYsvLUVIkfo29Huwx41A7nxLvbgDPa aWdE61noGtT4BlfXXZlb7ff5C+W5SMrMEyJGnYRgFHj9IBtotLmsDNZZKYJpncjFRMgP G1nQ== X-Gm-Message-State: APt69E36Bu4C9vDrn7u913qreRners7mySMd6ZveTmBlbPy18riQDNZC RncRbJ67Db2gllLFdPmgi23G2A4+ X-Received: by 2002:a62:211a:: with SMTP id h26-v6mr4038315pfh.133.1529719695889; Fri, 22 Jun 2018 19:08:15 -0700 (PDT) Received: from localhost (g134.124-44-9.ppp.wakwak.ne.jp. [124.44.9.134]) by smtp.gmail.com with ESMTPSA id a27-v6sm15239202pfc.18.2018.06.22.19.08.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 Jun 2018 19:08:15 -0700 (PDT) From: Stafford Horne To: LKML Cc: Greg KH , arnd@arndb.de, linux-crypto@vger.kernel.org, Stafford Horne Subject: [RFC PATCH 0/2] Fix GCC -Wstringop-truncation warnings Date: Sat, 23 Jun 2018 11:07:51 +0900 Message-Id: <20180623020753.27266-1-shorne@gmail.com> X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, When compiling OpenRISC kernels with our new toolchain based on 9.0.0 I am seeing various -Wstringop-truncation warnings. There might be more as I am not compiling all drivers/modules yet, if someone thinks thats helpful let me know. I discussed this with Greg KH at the OSS Summit Japan yesterday and it seems no one has pointed these out yet, so here are the patches. Please let me know if I should keep these on the OpenRISC tree (which I can do for 4.18) or if the maintainers will pick them up separately. -Stafford Stafford Horne (2): crypto: Fix -Wstringop-truncation warnings kobject: Fix -Wstringop-truncation warning crypto/ablkcipher.c | 4 ++-- crypto/blkcipher.c | 2 +- lib/kobject.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) -- 2.17.0