Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7368690yba; Thu, 2 May 2019 08:42:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqwV7u6uA7i+ompYjBsp4i6dyBo/rQhPp0fpi29YZZk7fCIjcQwUVnFOTKCq8CurUK7G76W/ X-Received: by 2002:a65:610a:: with SMTP id z10mr4722087pgu.54.1556811762145; Thu, 02 May 2019 08:42:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556811762; cv=none; d=google.com; s=arc-20160816; b=b8TPKXKZJzrNpYkYXVFExVBYi4Ry2FcGqWmRBczlB1rhxlDxNDerNiSIF9Lb1dhF0Z kQg7/MZsk394GJJvceXaQ87lQ9s9iPgIDd+iWJh+7av4LIuoCYtIfanViL6vJffkJeGo fhHIo70x8p0uqRJQcylReZc07QP5ydgn7AhqX8gS2kMStzNhXwlu89a2yG4i9u4cNrH5 lVDxPRCPB7EZ49eFToF6UTfLBzijqVbF0VMSyCyiGAo1ImIkUWT8SaMFezixoW1DfS5m r6rL+q8i0FPbVX8nsbMaZiddOpbxUlyk8Y91cVKK/clXoBvDtvYO6fFoGHFym8njE6on 5Rvg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=fdGCX7egXoVKhiOYWiRfLl+EsAbuxwoa3vA2hebA+l4=; b=O8xiy6bdAuSVorYES7mkwOFy2HllqaA+SLizRqbbphIHW1M0p+sj8e1rr8LOiJymfL VEo9h1RpaTTIEs+t1DiqTU3CEdj5HuGaOGjD0wsMGZb4t3e5iF6KfW0FfJoWHZWnpoVL LajUZVzMahLu82kVZOSUQBMTNdOrg8d74tJq7hJ7Gucz2Mq9Yi/bEvkB8DHYR3XdtIXM gGrimSQTJY6PgdrjeSeZCd2I2kGFfNXS5Kv07v77pdbJECx8wg6yhG6AxCwEuAAN93IM FBrhTAdBU9iOztB2mzZzVMT0u4cbYroWz+90be9Tvhs0bpk4oxYPM8PNoAl7T0TYdShx 3KEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zM9eluby; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m186si32792521pfb.96.2019.05.02.08.42.26; Thu, 02 May 2019 08:42:42 -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=@kernel.org header.s=default header.b=zM9eluby; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728345AbfEBP3I (ORCPT + 99 others); Thu, 2 May 2019 11:29:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:46498 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728327AbfEBP3A (ORCPT ); Thu, 2 May 2019 11:29:00 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 90B5F20B7C; Thu, 2 May 2019 15:28:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556810940; bh=s/AAX1UEWBA673sm0A49Y3i7KR+3WkkM5w339LZRE40=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zM9eluby54I41HjWnNh18O49y60nD6Xx17yPFXm0e2TUyWrGk1M+SGPE00NJ4KIEM mRRTCLM+xk1Grv0aakBKShNSIiSuIJ/VNO2lRUHRrKobJmB4IcHrjyqq32WwqAVKVQ 2Da8Hu4iBUDOFPPnR1pWnugAXZZgGxsGEq5dIzEc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Li RongQing , Stefan Schmidt , "Sasha Levin (Microsoft)" Subject: [PATCH 5.0 015/101] ieee802154: hwsim: propagate genlmsg_reply return code Date: Thu, 2 May 2019 17:20:17 +0200 Message-Id: <20190502143341.114195926@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190502143339.434882399@linuxfoundation.org> References: <20190502143339.434882399@linuxfoundation.org> User-Agent: quilt/0.66 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 [ Upstream commit 19b39a25388e71390e059906c979f87be4ef0c71 ] genlmsg_reply can fail, so propagate its return code Signed-off-by: Li RongQing Signed-off-by: Stefan Schmidt Signed-off-by: Sasha Levin (Microsoft) --- drivers/net/ieee802154/mac802154_hwsim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ieee802154/mac802154_hwsim.c b/drivers/net/ieee802154/mac802154_hwsim.c index b6743f03dce0..3b88846de31b 100644 --- a/drivers/net/ieee802154/mac802154_hwsim.c +++ b/drivers/net/ieee802154/mac802154_hwsim.c @@ -324,7 +324,7 @@ static int hwsim_get_radio_nl(struct sk_buff *msg, struct genl_info *info) goto out_err; } - genlmsg_reply(skb, info); + res = genlmsg_reply(skb, info); break; } -- 2.19.1