Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4307778ybx; Mon, 4 Nov 2019 11:10:02 -0800 (PST) X-Google-Smtp-Source: APXvYqxnSZS/+0BWY8nJY5phODjMqmv3RV+Afs5Z8MKWllG7p/V+dYv41cQPMRSABUyTMmTWqoKQ X-Received: by 2002:a50:ab01:: with SMTP id s1mr31801151edc.192.1572894602857; Mon, 04 Nov 2019 11:10:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572894602; cv=none; d=google.com; s=arc-20160816; b=f42Y/mUMcRsMq2Lg1swkBziVaMWFSuPWVSD1DGwBWW0lhLeup/LKXsc0gI3lMhAiuT BWyiqGpenQ+5ke1XUUGS8TuR6kHJcPXCufFcnNEQxoPosTFd7rv5mh1Xf0/4mIkEqt7n 87LEAS5d99vl+uSUl+lyGrLJnPWoT4Wh3j+4/7+MKaC+SquZmlv+1aKYSPtmoZbTcd/C ko8AUXZpr2eC95NQXRMwoGUQYCPXVZKsiFaoOunI7QX5nYDhCQxPtg92/CXxb8XWXp4v qPgd2OWtv8bNhyI9WT0X4DDZIJWO05boelzeInFVmhBQMqKzltvHnHsGNS3O440XHd7D UiUA== 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:references:subject:cc:cc:cc :to:from:date:message-id; bh=PkVlV2Kz71aAlcTBdoUnpir/PBHm1J2bry8CrnLTwNs=; b=Q9qkCv9W4l8XGI0wjFsZPLt/d0VMc3B3Uo/P1lEFWLGkYhfvWG0hDEcrjKZNQIhfdd M4XhCjVOLqq7yPvrh4lW91ompDPRcTiZlPrNUez2ch3t9J2ZoeiSZBm/GttH4U4Vup8f nVnzVRewbugoBkDxkc0si0QFXHZgM+g0c6CsiBhwWm7m+snhKOiGq5o91F0EBF8G/APW 45DVeS2cehADBP0PGoiHhZMQJv0l/w8igmlblXdQvi6IA42eVV4PHMvlAvH2uIwCCkE9 jo3sb5+5LW9bg20rcb7ncuUzTJzdDEjhbbHhKLxzXnXEyQqofTxyLIRNImockeCvkJGN mVZQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w52si7572996edd.76.2019.11.04.11.09.39; Mon, 04 Nov 2019 11:10:02 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729199AbfKDTGK (ORCPT + 99 others); Mon, 4 Nov 2019 14:06:10 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:39330 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728377AbfKDTGJ (ORCPT ); Mon, 4 Nov 2019 14:06:09 -0500 Received: by mail-pl1-f196.google.com with SMTP id o9so1354884plk.6; Mon, 04 Nov 2019 11:06:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:to:cc:cc:cc:subject :references:in-reply-to; bh=PkVlV2Kz71aAlcTBdoUnpir/PBHm1J2bry8CrnLTwNs=; b=fXGc4ds3UI8vOfPZTL2s66iJSnk0h/QOj9fjrrdgeqMi0Xul+8nGor0ZuuLing/Vo0 BU/1VjvJAuuaHP+mSH56nZi+mailf3WiM/c+QTD7UjeiBwGREMI4yIuQTp2k5f8i9xFI U/8W2MGbBQH4Hm6usBXhWce771P/Yu8Cv98FSdI99ybRsKdaX1yEnVIvi0icxepD/AbY qUFv/vI/kxDRajmEXlli8xJ53sW0B9EWl+yDs5dSXlAYO0pJxTAB4to1K3tNQea/6WRQ +BkUEDa/ouiDF1lH8rFOEqcr8FwUUNfdABEN+IM1u6Z9DfSCuPC9d39GcCIDNPzjo09g F/Ig== X-Gm-Message-State: APjAAAXVoQSudQKcKogX3fYGeIfHg2pHSM7Bcv9+VwN1Q8sUCRKtb7wB l4yP1jXUXoX54WXVGRvRByY= X-Received: by 2002:a17:902:9a01:: with SMTP id v1mr29523284plp.132.1572894368786; Mon, 04 Nov 2019 11:06:08 -0800 (PST) Received: from localhost (MIPS-TECHNO.ear1.SanJose1.Level3.net. [4.15.122.74]) by smtp.gmail.com with ESMTPSA id y16sm17702772pfo.62.2019.11.04.11.06.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2019 11:06:08 -0800 (PST) Message-ID: <5dc076a0.1c69fb81.bd82b.3c69@mx.google.com> Date: Mon, 04 Nov 2019 11:06:07 -0800 From: Paul Burton To: Tiezhu Yang CC: Paul Burton , Ralf Baechle , James Hogan , Huacai Chen , Jiaxun Yang CC: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org CC: linux-mips@vger.kernel.org Subject: Re: [PATCH] MIPS: Loongson: Fix return value of loongson_hwmon_init References: <1572874430-28903-1-git-send-email-yangtiezhu@loongson.cn> In-Reply-To: <1572874430-28903-1-git-send-email-yangtiezhu@loongson.cn> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Tiezhu Yang wrote: > When call function hwmon_device_register failed, use the actual > return value instead of always -ENOMEM. Applied to mips-next. > commit dece3c2a320b > https://git.kernel.org/mips/c/dece3c2a320b > > Fixes: 64f09aa967e1 ("MIPS: Loongson-3: Add CPU Hwmon platform driver") > Signed-off-by: Tiezhu Yang > Signed-off-by: Paul Burton Thanks, Paul [ This message was auto-generated; if you believe anything is incorrect then please email paulburton@kernel.org to report it. ]