Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp156377lqh; Wed, 27 Mar 2024 19:08:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVY0dKqffAVux/8hd5hgsysPbZlBfQJhV8Gr5wVoOkGL+dcr4ufn+wcLCKs33Mz7Jb3zWtTMLu66OG/IOiwEWnK+TLaeHd27DEz7MOT5Q== X-Google-Smtp-Source: AGHT+IH1Agohmz1DVb6NZRtc+xYBkjS5NvZOIIC4MoqlmiqfTyiGUm7YSicxw7LW2Cuq94bfVZSO X-Received: by 2002:a17:902:d4cc:b0:1e0:c0c3:4b33 with SMTP id o12-20020a170902d4cc00b001e0c0c34b33mr1741957plg.13.1711591696060; Wed, 27 Mar 2024 19:08:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711591696; cv=pass; d=google.com; s=arc-20160816; b=bPZ7PtojGXqWgbSXQqwQrxMHqgNFKfgoZWS0h8MQfIikUhVBsJYvZ23MZLoOaPIIe4 XokFdNe1lqqKK94mJAYY/5YevkTyV/IJRQx/t6N1IKZjSoyBGTBQ4RQIEToelRPDoqdU D01HcNeFM/1AccGo7+hACefBqf/zdwWdRy1tJwgUuOsHCHCC5PryogjaC6R6XAMggbsn rvlLToDzYiDxsbrg7pUII8MhFgg1oEamsNJd8DDeOW+gVRhV3LSPsVjGm3pZj9ltx5si EWrL96Uz2z6dnNogwbpryH2UUfUDNwkSXPBocZ8j84fkFGT3ubjgq97fa9TxhXlnGOjc /qXw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=pUm4ue8Vi8UQo3ShQ4H5J76PcermzomnRDaL1C/gRhw=; fh=2od90zCUZ87eb+ls3GFVees0NLaiJYFXe2ZxvqiOYss=; b=fnnK4IrHzwBkqmHjQW3nq1dennLZwvOTu6/cC8oiIlN3kZFI0k6xmTG4hIJTTZdbzG t+oTrutznlYlqte8tJi51X6fOF3QCAWCtRHxQIPCeSmEq1ltfbLeW5zn8siyymOuTLEd 1fZH2GhxCuGFBgUoE8pq8CTb0vFXks543lSdIH2N0YlfqiFJfaBRZ+FjwC/8Hci23lgG Y7tfjp8Xub2D8fM0d6lD/iq9k6XwTDrjE2BhUhQNKuVSEM3pxo5xsoQAkqCfpr1oF4/G bJKlZ25G+sDhtlxGKtyVvaF9pahc5gz67ZbPKt47WRCvRnatFLT0AsukuIFY3nepM41W yUgQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=awpXWp+3; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-122319-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122319-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id u5-20020a170903124500b001e0b4d5d3b3si383173plh.192.2024.03.27.19.08.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 19:08:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122319-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=awpXWp+3; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-122319-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122319-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 8799EB23AE0 for ; Thu, 28 Mar 2024 02:07:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 67CED2562E; Thu, 28 Mar 2024 02:07:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="awpXWp+3" Received: from out30-110.freemail.mail.aliyun.com (out30-110.freemail.mail.aliyun.com [115.124.30.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA78824B2F for ; Thu, 28 Mar 2024 02:07:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.110 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711591652; cv=none; b=GjeYW1upM62X0QR96VWrfF/s+bkL9SOKLtz+8CdNJ9yW+Pl1caW58IhacZAqfcwy5D+nhHdqhZdkyorye0QxB8O9lTb3BvciyIi5Ews/3t9e5u8uwmWw9nsU37tzanlDIwQbqPusVVcttWXMfWkjx69f+qvD9PXuLyLUEgZBQ8E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711591652; c=relaxed/simple; bh=HFjG8R+kmOBzPPdi6ipJuusDY05lFaXEQWIAKo/fFQc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=dUaqxzmzDpY0+GrFsmJyRMbV/Ek5H7edm0CsfmpRARXRlDDLyDZakzObZii3xRz/YdXSxxPSzvzNPxLOQgda0R+8hJ4Z1ihU/O/zaDSKYAswDT7QgOcfkL6FXDm9vgOLluvjNDRmfi+eqb5+NcZ22g6ep5xvCwoVrIbH0L95E1k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=awpXWp+3; arc=none smtp.client-ip=115.124.30.110 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1711591642; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=pUm4ue8Vi8UQo3ShQ4H5J76PcermzomnRDaL1C/gRhw=; b=awpXWp+3S13QMFYoayDQtn7NtsSDH0FcY+xEG8qRKe91vkJB59eWsM+MricKbABSEoFpimTigj5LtCjnAfjJKTqx0EgaxFLnHFmXLeF0v06aQC0ixcPao/1y1SDdV3bWRYnaAkvjl8O+Rrn0XTYYBApYSk2os+IySEoAsWU5oL0= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R841e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=12;SR=0;TI=SMTPD_---0W3QD7w3_1711591632; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0W3QD7w3_1711591632) by smtp.aliyun-inc.com; Thu, 28 Mar 2024 10:07:20 +0800 From: Jiapeng Chong To: cl@linux.com Cc: penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, vbabka@suse.cz, roman.gushchin@linux.dev, 42.hyeyoo@gmail.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] mm/slab_common: Modify mismatched function name Date: Thu, 28 Mar 2024 10:07:11 +0800 Message-Id: <20240328020711.125070-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit No functional modification involved. mm/slab_common.c:1215: warning: expecting prototype for krealloc(). Prototype was for krealloc_noprof() instead. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8659 Signed-off-by: Jiapeng Chong --- mm/slab_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/slab_common.c b/mm/slab_common.c index 8664da88e843..8af45e9bd2b2 100644 --- a/mm/slab_common.c +++ b/mm/slab_common.c @@ -1199,7 +1199,7 @@ __do_krealloc(const void *p, size_t new_size, gfp_t flags) } /** - * krealloc - reallocate memory. The contents will remain unchanged. + * krealloc_noprof - reallocate memory. The contents will remain unchanged. * @p: object to reallocate memory for. * @new_size: how many bytes of memory are required. * @flags: the type of memory to allocate. -- 2.20.1.7.g153144c