From patchwork Mon May 8 15:42:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 1778492 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org (client-ip=2404:9400:2221:ea00::3; helo=gandalf.ozlabs.org; envelope-from=srs0=kc89=a5=vger.kernel.org=linux-ext4-owner@ozlabs.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=yVO1gn84; dkim-atps=neutral Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QFQXk6YNdz214S for ; Tue, 9 May 2023 01:42:46 +1000 (AEST) Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4QFQXk68Kbz4x3p for ; Tue, 9 May 2023 01:42:46 +1000 (AEST) Received: by gandalf.ozlabs.org (Postfix) id 4QFQXk66B0z4x3s; Tue, 9 May 2023 01:42:46 +1000 (AEST) Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: gandalf.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: gandalf.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=linux-ext4-owner@vger.kernel.org; receiver=) Authentication-Results: gandalf.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=yVO1gn84; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4QFQXk62DTz4x3p for ; Tue, 9 May 2023 01:42:46 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234554AbjEHPmp (ORCPT ); Mon, 8 May 2023 11:42:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234310AbjEHPmk (ORCPT ); Mon, 8 May 2023 11:42:40 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5016D8A52 for ; Mon, 8 May 2023 08:42:38 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-4f00d41df22so29558846e87.1 for ; Mon, 08 May 2023 08:42:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683560556; x=1686152556; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rvH2mgmfNa1pox3nAUFcfk/E0s6xFf24zLPU7zpEAl4=; b=yVO1gn84v4If9WbSGTbrE0WAh8Y3QA2Pn1vmt8p7a+m9QCSVC/rYjwy2olmSS5tFWY RZSALy3XG+nEIUNnyoHY9H5O8Wh2xMV9oq5nXGLAA+GMRNs7gNzn5BrNDL42NtqfHv5O w8oxhNf5TOyPjUVar1x+h8g2hWaJgrG2mLgUo7/da2kNvbZSmxduiKXU/qa+EnW1oBNY hw6Ld6xI5UYE4E+l5SiuaD1ShjqDiJNRKAKL7FRTwKSVf5HAelko6qzxIwxgh0kNHGXl HQzgG5Ope7n9Z0Bal3es8WB90kjrwH0PgP4L8t3W6qjKJABj6Eq1rxnFFWmQxSAGDYrT 0FdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683560556; x=1686152556; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rvH2mgmfNa1pox3nAUFcfk/E0s6xFf24zLPU7zpEAl4=; b=D3znJmW5bdBNySIPiTI9IgS9xzP7HjcI0/uc9WFLHUFnktz+iDHpgzpnxZ9XYiNHIe 7daoUEQIwxu0M26IZDsgaZXheG3wLTybctjp5FM60LxjzsqE8lHIPUK2RLD43wWFdnul wXguo6t9JlGOyoEXxHVDTZ5qWpxSL50649cPVyG/nrNdWuMDV3epMIpCgMyX1kuD10z9 PVOKgSsazIFkJWPjukv6rAXrifejnhpx7esdkMQcil6c1f8KrFv+/2zYIRlXKlxYP4YT ACIsGpB3+gQa8RRHKP+d5yhNzQdlbBvXBI6AFaEnprkI3Gfz25G+LIDniGMu5Nfw/vyl OTFA== X-Gm-Message-State: AC+VfDw4HtlVY1lL7b/3FCgqLXim84mQoQOjhjMsn9uOcr+zeNJvXGxX NxJ03gZO2Yye5wNbFSJT57PUoQ== X-Google-Smtp-Source: ACHHUZ6OtgtKNp6dHBAWQTcAg5cvYFVzzFhQ/VRY0x4wCgSmv8Cl0dj9UL5It5ZnUPYZu+kgn9Uq+Q== X-Received: by 2002:a2e:b63a:0:b0:2ac:75fa:eef0 with SMTP id s26-20020a2eb63a000000b002ac75faeef0mr2926926ljn.7.1683560556718; Mon, 08 May 2023 08:42:36 -0700 (PDT) Received: from ta1.c.googlers.com.com (61.215.228.35.bc.googleusercontent.com. [35.228.215.61]) by smtp.gmail.com with ESMTPSA id a21-20020a2e9815000000b002ad9b741959sm17720ljj.76.2023.05.08.08.42.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 May 2023 08:42:36 -0700 (PDT) From: Tudor Ambarus To: tytso@mit.edu Cc: adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, joneslee@google.com, Tudor Ambarus Subject: [RESEND PATCH v2 1/5] ext4: ioctl: Add missing linux/string.h header Date: Mon, 8 May 2023 15:42:26 +0000 Message-ID: <20230508154230.159654-2-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.40.1.521.gf1e218fcd8-goog In-Reply-To: <20230508154230.159654-1-tudor.ambarus@linaro.org> References: <20230508154230.159654-1-tudor.ambarus@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org ext4/ioctl.c uses strnlen(), strncpy(), memchr_inv() that are defined in linux/string.h, but those were being included by sheer luck, indirectly, via which includes . Add missing header. Signed-off-by: Tudor Ambarus --- fs/ext4/ioctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index f9a430152063..6d5210b94ac2 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include "ext4_jbd2.h" #include "ext4.h"