Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1214864ybz; Thu, 16 Apr 2020 05:12:23 -0700 (PDT) X-Google-Smtp-Source: APiQypLWWIBWOhktat3sgu9ZxPSPmBtLHoKyFmgZf8MH9Z+o2Zqt4Fu/Zepwh0voREw+TULm6NLN X-Received: by 2002:a17:906:9482:: with SMTP id t2mr9101353ejx.241.1587039143274; Thu, 16 Apr 2020 05:12:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587039143; cv=none; d=google.com; s=arc-20160816; b=kxgQFR/ma4XOtDXqotxHvA0od7Nv2NISTMPYXEOi5LoHDGo6EoICOdP8bOpafdx4KR P+g0Xpeh42k2yslfRPwxeRijgWXasWEit85qycwR1raaWN51rS4fC78pJNbLQFV+xqqi Q2D+7Hmu+JLHwdY8v3x+JlvUMKb5mDPJnGgjm6JBVCp44rc5RgH3SzLMOY7+femYp5rh L+2NW4+AfbTn4faPI3xMXi7g7HZDFcgCcpzr2kxvipLxUXsUwQQkfKDJ/opSmqpGdO+Z PBQPbaaBAZSFLw4gQa2I4id+BBFrCOmUTv79KP03HzVE2rB+5EDKc74RrJwIEGMdLJj/ MlBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=wG2AA9p6i8I/UNxVkyDuMtpOTXAlIGJZQiEkiZEXjVk=; b=eNn/D7mzcjz4LUp+03dDH8jkcjR+Lqz3ftbEz1p5qXmdSLrEuWyUu6IrEfSiCx9NCo lH4a0tSyL+qroNkJiYZ5L6qR+zDoUt3TzTjijlrRVPWHO7OtcxLqoH8+SSEJyNvgFCU4 9b0WWQukU3001xM4nECffsm+RWvddTsfMS+TLlBL4mJzPEhfbCMSqYG/6X7rvzSdWQGr W+SwjwTWCyHVLeQi4hsTbxMW7JLSZNtheE9ozpZpcUSxBEVs5c81HY0kjTnINQzMDj+S hobz2M0oM0B4Djk6D7sMPod4wTdQOQb6mo1Ibf0w7crwelGRHnWQMFBvAzjiSnUVBIVO 2P/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=At1JGyb9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s9si11291646ejz.335.2020.04.16.05.11.59; Thu, 16 Apr 2020 05:12:23 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=At1JGyb9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2635002AbgDPMHm (ORCPT + 99 others); Thu, 16 Apr 2020 08:07:42 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:59898 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2635001AbgDPMHc (ORCPT ); Thu, 16 Apr 2020 08:07:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587038851; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wG2AA9p6i8I/UNxVkyDuMtpOTXAlIGJZQiEkiZEXjVk=; b=At1JGyb9cwzYLxa10RU1Cp6Re6ehn5h0W202IS2P3MZ0qg9mZUGRxWBEwYua1rPYJf1oTj BEcrKT1i8f+MZ7EiamJUpfXiSGAWysV3LFmXnAxdukdrQymCmjvhW4sIZ6gtQKcDsA7D2J H0w79cGIUbHo/ffNsWM39xaXa+lvT2c= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-372-45ApSQlFNbygU006p2L1RQ-1; Thu, 16 Apr 2020 08:07:27 -0400 X-MC-Unique: 45ApSQlFNbygU006p2L1RQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 24BC68017F6; Thu, 16 Apr 2020 12:06:56 +0000 (UTC) Received: from treble (ovpn-116-146.rdu2.redhat.com [10.10.116.146]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D00B25C290; Thu, 16 Apr 2020 12:06:54 +0000 (UTC) Date: Thu, 16 Apr 2020 07:06:51 -0500 From: Josh Poimboeuf To: Miroslav Benes Cc: live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Jessica Yu , linux-s390@vger.kernel.org, heiko.carstens@de.ibm.com Subject: Re: [PATCH 4/7] s390/module: Use s390_kernel_write() for relocations Message-ID: <20200416120651.wqmoaa35jft4prox@treble> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 16, 2020 at 10:56:02AM +0200, Miroslav Benes wrote: > > + bool early = me->state == MODULE_STATE_UNFORMED; > > + > > + return __apply_relocate_add(sechdrs, strtab, symindex, relsec, me, > > + early ? memcpy : s390_kernel_write); > > The compiler warns about > > arch/s390/kernel/module.c: In function 'apply_relocate_add': > arch/s390/kernel/module.c:453:24: warning: pointer type mismatch in conditional expression > early ? memcpy : s390_kernel_write); Thanks, I'll get all that cleaned up. I could have sworn I got a SUCCESS message from the kbuild bot. Does it ignore warnings nowadays? -- Josh