From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 18790C636CC for ; Tue, 31 Jan 2023 14:44:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qhStK/qpkEohcUS59vVeTVfHzc4r8IkM2bP5Gju8V2M=; b=D0sXbKkTv9ts8v RIuyda0V6SfrhIqCi5kU8pXebuuJV4sxsSlpkUDvktkAYXk+edh886NaQImLedW5xLQJ4EOMsW2hL rvZsXS5hHEeZQWoUpPh6vkiM3ep6sLB+KSSHBoUUUkoK7fdlspdH067O+VR31PUo5vv4iBqQIxQPo Oj8o0xijouD11D/nXLY8BLlqlTb/X0jdnCtZSDcfU7TC3RjCXpgctEWzHNc7jNPiDKC42AndjP9Wj kRcl+cMS4ETT9T2X2SjyT6sINYA/dl4ssseyyg7i+EYILh7hzmBYwyHKPV+fcokSUyK+rdqx0MZv+ Va6ofBBIVYAdtVh6r8FA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMrr6-008KVE-6O; Tue, 31 Jan 2023 14:43:28 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMrr3-008KTq-4r for linux-arm-kernel@lists.infradead.org; Tue, 31 Jan 2023 14:43:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675176202; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LAtdCvaYcBjQla+NfgEkiJO+riIsmgiBoPP1Uy0xazs=; b=PNppBzgKtEeV2bhcg9WjBqwpVSrH/RzBd6kgDPtP3Vv9nj09rlao0mj2YyMXNIMwPLgCXs 1yegoP2J2dPfNRtHxolSkuUh6cpsPnRMGDA5+aNXBsieMLypzsSNY6x2hX2MYVVQlvnshC U+f8DwNOMlsAxeljGaxwVBNGDm6Rov0= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-625-ZyCYNbBEOtOH0w3kJqGpRA-1; Tue, 31 Jan 2023 09:43:20 -0500 X-MC-Unique: ZyCYNbBEOtOH0w3kJqGpRA-1 Received: by mail-qt1-f199.google.com with SMTP id z12-20020ac8710c000000b003b829a0eda2so4871576qto.21 for ; Tue, 31 Jan 2023 06:43:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LAtdCvaYcBjQla+NfgEkiJO+riIsmgiBoPP1Uy0xazs=; b=H5urJDFJ74WUaLPaeA7wh83uGYgzs4LRT8xom/AZeJ2UrKCB7Ef08BOsmel9FPdP2I 1kEBS5sRBdvFH9eu99tYVNnstjaBl7KfoaJrrTz9foPN2BsFdPTa1fQPLoJoErJ5YJht zw3iHWUh9ngTT7YGzxYg+q8mOMjQYSavR8MKsKtAdT4Y8BcXeXTIXQWvRRfl3gL0hNs8 HLDMdOqg3Ng5aNPDUBNfYu3UHqBij+XXMCJHC+BAFzfXwYIMnT2C4neNH0lumi1bdLid tRG1W+3CwTnPPyGFkkRpnp9njgC4C9pNC3yyB7uob7RKIijDN9LI+AyCVy2cWKrBlMxi DusQ== X-Gm-Message-State: AFqh2krFaC3hfHXQMFckz3bAdTLLu6yHlWKxTSJEsIozmCK12Q89VRIF GinjtaF4QyZGMeHM2F/2P9szUExgGoPoIpVjBOrLdCUvER7xdigLz7L95ZAtaOKkeIY367BJDBX gAG/jhjPpu8QW7NaS3DDLtwH+j351Fs0chvo= X-Received: by 2002:ac8:7ec4:0:b0:3b6:3c9c:59f0 with SMTP id x4-20020ac87ec4000000b003b63c9c59f0mr75200620qtj.15.1675176199683; Tue, 31 Jan 2023 06:43:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXuXH7IzWL307K632kUG5faoKR8tSdHwFt5EW1IhyhwYmM3PlJhpLhToOa2tJxLyWOWsmCmU4Q== X-Received: by 2002:ac8:7ec4:0:b0:3b6:3c9c:59f0 with SMTP id x4-20020ac87ec4000000b003b63c9c59f0mr75200586qtj.15.1675176199464; Tue, 31 Jan 2023 06:43:19 -0800 (PST) Received: from [192.168.0.2] (ip-109-43-176-155.web.vodafone.de. [109.43.176.155]) by smtp.gmail.com with ESMTPSA id z20-20020ac84314000000b003b960aad697sm2448545qtm.9.2023.01.31.06.43.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 Jan 2023 06:43:18 -0800 (PST) Message-ID: <16e95056-919a-47dc-3ed7-50c29d39b6ae@redhat.com> Date: Tue, 31 Jan 2023 15:43:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [RFC kvm-unit-tests 01/27] lib/string: include stddef.h for size_t To: Joey Gouly , Andrew Jones , kvmarm@lists.linux.dev, kvm@vger.kernel.org Cc: Alexandru Elisei , Christoffer Dall , Fuad Tabba , Jean-Philippe Brucker , Marc Zyngier , Mark Rutland , Oliver Upton , Paolo Bonzini , Quentin Perret , Steven Price , Suzuki K Poulose , Will Deacon , Zenghui Yu , linux-coco@lists.linux.dev, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230127112248.136810-1-suzuki.poulose@arm.com> <20230127114108.10025-1-joey.gouly@arm.com> <20230127114108.10025-2-joey.gouly@arm.com> From: Thomas Huth In-Reply-To: <20230127114108.10025-2-joey.gouly@arm.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230131_064325_305540_8391DD12 X-CRM114-Status: GOOD ( 13.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 27/01/2023 12.40, Joey Gouly wrote: > Don't implicitly rely on this header being included. > > Signed-off-by: Joey Gouly > --- > lib/string.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/lib/string.h b/lib/string.h > index b07763ea..758dca8a 100644 > --- a/lib/string.h > +++ b/lib/string.h > @@ -7,6 +7,8 @@ > #ifndef _STRING_H_ > #define _STRING_H_ > > +#include /* For size_t */ > + > extern size_t strlen(const char *buf); > extern size_t strnlen(const char *buf, size_t maxlen); > extern char *strcat(char *dest, const char *src); Reviewed-by: Thomas Huth _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel