[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 14/14] tools/xentrace: Use const whenever we point to literal strings


  • To: Julien Grall <julien@xxxxxxx>
  • From: George Dunlap <George.Dunlap@xxxxxxxxxx>
  • Date: Tue, 6 Apr 2021 14:15:48 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ER4oR17/AkZSKVJPBnNqYnNSd1fVIJuJvs2zTTakA5w=; b=jk0maNPFv7mqVqJ+UXnU3OOdCm/IgYvpkIs7YzyqEDQYkNVaFQgHZlnz2pfIf9uU33qwCsyIhO1JEI/6WNmkESFq7Ztw3NBlTGiuMGYONVnVBJC7JEywO1NZZtJwfpiSr07zgtVC9xBH8ao6hrz/GfyEC4UdVPm3+3jseQo3+X2fB13r+3E1Y3UOcnYLW9ZxgQG493j4tp+WDxP8ldWt48wAg3W1dPz47i7fD3JiYirBYVQRPlTqm9ST4+uHQ7+tl/XBd2ARrr+cS/z7Fi0krpk99A3wtJ5NHo9pxKXqGmLrvN9tFKxP0NVIOL8i7QXToqBf8nT+6opuwq2ZwylUcw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RIAPgDs1QTW0MwZezha8UZ599jclBe8AgIrZZmD3sc5wR9SEx86Ce9QNtlZ1rn5rKAuY1hCo2y5M0VfisPUHnbu7vk1WvSuLFbYBDDBXxyjnRhNL8MmmJ9zKDo2LsZWfvkLMp/1rwy2+HPQBTV5uvd93B357VXElqER+obATQbA2tiHKYJNu6icGMrroxiWoKOrw5+RpMuDiQbrBnCrUoJW/zdkviu5yoe7RoKFTgTspP2YWTxtzXkExVL2tD8OWO0qMZIOGjRVBHRJzZMaVcpUxSIOQj2Flykef7FfJes392fdLUmowGVwzYT49FHgwQvwy0pNxWm8ALz0eU80Acw==
  • Authentication-results: esa5.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Julien Grall <jgrall@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Tue, 06 Apr 2021 14:15:56 +0000
  • Ironport-hdrordr: A9a23:yjkD+q+P8fYUuiKFp1Vuk+FRcL1zdoIgy1knxilNYDRvWIixi9 2ukPMH1RX9lTYWXzUalcqdPbSbKEmwybdc2qNUGbu5RgHptC+TLI9k5Zb/2DGIIUfD38Zn/+ Nbf6B6YeeaMXFTh8z3+RT9Nt4mzsWO/qzAv5ak815GZ2hRGsJdxi1+DRuWFVAzYQFAC4YwGp b03Ls8mxOLf3MLYsOnQkQURuSrnayAqLvKQz4jQyQm5g6HkC+y5NfBfySw8x8CX1p0sNAf2E fflQiR3MSemtG9jiTRzmrCq6lR8eGRsudrIOyppowrJi73igCuDb4RFoGqmDwuuumg5BILvb D30nEdFv9+4X/QYW25yCGFs2aP7B8U53Dv0lOei3f4yPaJPQ4SMdZLho5Sb3Limigdlex8y6 5C0ia4sJdaHHr77UDAzuXITB1jmw6Ip2Mjm4co/hlieLYZAYUwkaUvuGduVLsQFiPz744qVM N0CtvH2fpQeVSGK1jEo2hG2rWXLzsONybDZnJHlt2e0jBQknw85VAf3tYjknAJ8494Y4VY5t 7DLr9jmNh1P4ErRJM4IN1Ebdq8C2TLTx6JGnmVO07bGKYOPG+IjJLr/rMv5qWPdIYTxJU/3L TNOWko9FIaSgbLM4mjzZdL+hfCTCGWRjL20PxT4JB/p/nyX7zuPSqfSE0/kseprvkFa/erGM qbCdZzObvOPGHuEYFG00nVQJ9JM0QTV8UTp5I6Vju104D2A7yvktae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bky+QRix TBlSzLObIhckFSOdwan1VuMYuAwHtYjzWjJc27UiAwZbHcMhLXYRydnoI8TfxVYupUGL0U04l+ 1j2WPVeFcAsk3yznOPzF4CmksozC0wwhiBEZsDMC2l1YxocPjOz8mUv+tBG7a6jyFXUKaCg5q1 bak=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHXKjbX0++oj7YoP0KCrVGPVwIu5aqnij+A
  • Thread-topic: [PATCH 14/14] tools/xentrace: Use const whenever we point to literal strings


> On Apr 5, 2021, at 4:57 PM, Julien Grall <julien@xxxxxxx> wrote:
> 
> From: Julien Grall <jgrall@xxxxxxxxxx>
> 
> literal strings are not meant to be modified. So we should use const
> char * rather than char * when we want to store a pointer to them.
> 
> Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx>

Acked-by: George Dunlap <george.dunlap@xxxxxxxxxx>




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.