Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2529995imm; Mon, 16 Jul 2018 09:30:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdevqrQgnTDF/tSomfOlCK9Sn8HQSicHG8nUMi0DH5XZxcv/Udbrb1SniXbKO/vCtRGXwTy X-Received: by 2002:a17:902:a716:: with SMTP id w22-v6mr17162541plq.271.1531758609667; Mon, 16 Jul 2018 09:30:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531758609; cv=none; d=google.com; s=arc-20160816; b=BCXz/DH+p5NRLpU8+xevOvj/oDFVRuzGcfL5FMqj9QJ8LSuDeNn1ua1JWZE4SWrTiD 9TYoGE91dVz81gJdvtLuyVS7VQDKbwy5TF0AbgPOI6mDpjIFMKAHVMXVwu8SV7Cn3FPe pHULCIjX1azeM01L+55Fp8rPJeJf5Pavr516oPASvHJw24f3ENbUL687ztEuSo1gMlzo ge3N/tChaipys0N5/Lu+LDDsHyGqn4KRzMluKQ4/M7/vlS7hTWM3tZIrysCEyX/6WoFX fERdLm6SBCK8rUE0lxvZ9tgS04llvmYAeJyD48iHD1TEfTSVFWCryyztPUwSnBQ8u1HD s9nQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=vkc629QQggIRBzvgCirpRsXxyjWGkN4xtT1J2IiXO8g=; b=ZefjLNKIuyEgmzCeqCgjzBtp/ZHjMwLImvzpd7eHJz7pCht9aaxbL2gFt/r4GqR8uj vN7zKt0fe5+eaoYweYx10rm29tXbOJvaO/XPfE1JJzsCCtFPmznk+U2V7tCqMMnermkh ixlD2ee0p2npIG+w7Wj2gMt/EXeR/QdRBgAyxbpAyK7gXDmXNsQL+B8l8+BBznSrrrbH rO1LfEQYgUHl9/mAW3THFxCqBsBMSN06ZUOb4Id6Ijf7NXrwQf0/2Wz269JNhqHYSf+O Xt+rCvHumaaYq0PlvGnDaOT2mftwY1QnmyyLdrEWo7pUdydWH/zEqpN8Ka3i6jbo+OAW a2Mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=Pr6O7mUw; 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=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x62-v6si35342202pfd.124.2018.07.16.09.29.54; Mon, 16 Jul 2018 09:30:09 -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=@oracle.com header.s=corp-2018-07-02 header.b=Pr6O7mUw; 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=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728558AbeGPQ5T (ORCPT + 99 others); Mon, 16 Jul 2018 12:57:19 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:40386 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727498AbeGPQ5T (ORCPT ); Mon, 16 Jul 2018 12:57:19 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w6GGSqkE109055; Mon, 16 Jul 2018 16:29:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=vkc629QQggIRBzvgCirpRsXxyjWGkN4xtT1J2IiXO8g=; b=Pr6O7mUwNlTsXPcEqYA4IgbcyhF1iynWVoWljlTkOB4hka06QvMMmJbfW1GV226s0Z/a gWWDKaACr1AZR+XeJnPO018gVeMaT6otpui6VJS2cDcYyQb/SAPg5GizuWtrwibCZkuk laKxjQidkmczCBGwRCNgp45FNQSGXAuXAyE80Ckp8ZKcyeE7znckploMAlxEdcnJr9ZG kKoUH7fJN6iJhMbsc0siQCXSfPhG/0Nxj6xuWXE/p53tbx6ZzmnUWqFvxJXSpSYefkgD 7j26Mm2ypl2XPPNelvo0ELS/+Hl4h1LRXdHwsYmUPcZXFQ60MzVibS2apIq5mg5ryk2H Uw== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2k7a3t585v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 Jul 2018 16:29:07 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w6GGT59F003770 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 Jul 2018 16:29:05 GMT Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w6GGT4Yk023683; Mon, 16 Jul 2018 16:29:04 GMT Received: from [10.209.243.127] (/10.209.243.127) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 16 Jul 2018 09:29:04 -0700 Subject: Re: [PATCH] net/rds: void function cannot return -1 To: =?UTF-8?Q?H=c3=a5kon_Bugge?= , "David S . Miller" Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org, rds-devel@oss.oracle.com, linux-kernel@vger.kernel.org References: <20180716130009.1591379-1-Haakon.Bugge@oracle.com> From: Santosh Shilimkar Organization: Oracle Corporation Message-ID: Date: Mon, 16 Jul 2018 09:29:02 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180716130009.1591379-1-Haakon.Bugge@oracle.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8956 signatures=668706 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807160190 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/16/2018 6:00 AM, Håkon Bugge wrote: > Commit b6fb0df12db6 ("RDS/IB: Make ib_recv_refill return void") did > not change the comment accordingly. > > Fixes: b6fb0df12db6 ("RDS/IB: Make ib_recv_refill return void") > Signed-off-by: Håkon Bugge > --- > net/rds/ib_recv.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/net/rds/ib_recv.c b/net/rds/ib_recv.c > index b4e421aa9727..e5ce93419263 100644 > --- a/net/rds/ib_recv.c > +++ b/net/rds/ib_recv.c > @@ -376,8 +376,6 @@ static void release_refill(struct rds_connection *conn) > * This tries to allocate and post unused work requests after making sure that > * they have all the allocations they need to queue received fragments into > * sockets. > - * > - * -1 is returned if posting fails due to temporary resource exhaustion. > */ > void rds_ib_recv_refill(struct rds_connection *conn, int prefill, gfp_t gfp) > { > Yep. Thanks !! Acked-by: Santosh Shilimkar