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

Re: [XEN PATCH v4 2/4] xen/vpci: address violations of MISRA C:2012 Rule 7.2


  • To: Simone Ballarin <simone.ballarin@xxxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Thu, 24 Aug 2023 14:20:07 +0200
  • 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KFn7YAQ+ChVjijhUIa6DsiAN6AKGJwks8kSgmVOMLCY=; b=h6yp7kXd9Zc1sxtUuPTTTLZbO67QmrwnenlU82k4xnEF6JSB1qP4L4lxtoGk0lB3ySWt4i7KieWL80jOX0wa3BtFO6lMgndyDm08nEldGIXViwkMQU0v8/MnKZekBFsPfcpqM0WsDJ26L/PqvXLBqNKXbPc64Zt863ZlRoVWHQrp/AcxrIm/1tSNCBwWSudXdmRr6wu4xlQF0YRPOmCrzqBLlmqO6w7OWO3vJK60gdX4itbYsYpLw7+sadND1+Wr7aH6tQNqKbetDfiicaFjxO3imwMoKTz2UMU92TbxhapxlbzrS+gxiT0q72LtbersOGSLw60ScqYQkqrxKvQqJg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GulHYtW1GczqImUwTxquSSD2TA4LxdSC8QuQbtJXJKOe5qu9mNf6YbEznjUlOIl1AFsug45KmZEVxfp6OgGiZEUlndYIaA+Bz5Cn2bPqSP4520+XhS72ppcF1DA0gn/gz3Wmv+RDMqCXLzaiquTbpFHRSjEgeTjQ+RGiK7FuKnCl5YN+Z2df9DEeECnQl+n4ctC/b5fQMTl7U7BSsC2K3576Dsgh1dY8EUVuIEYGApUBCeLFmOSJ4arusQSqQR0W8+0Us/k0wmptHFHO4Z+5AVqorYlHl6mx6v2u1f5zMgK0aP8N7YnzkXspmVmUo0AQjV+6AbOu32lwX8hU2N/INA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, consulting@xxxxxxxxxxx, Gianluca Luparini <gianluca.luparini@xxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>
  • Delivery-date: Thu, 24 Aug 2023 12:21:01 +0000
  • Ironport-data: A9a23:CA8CZq5EcIuAt4gnIuSVagxRtL7GchMFZxGqfqrLsTDasY5as4F+v mAZWTuOP/7ba2fxeN12PInkoRxV6sPVyoVlSVA5/Cg9Hi5G8cbLO4+Ufxz6V8+wwm8vb2o8t plDNYOQRCwQZiWBzvt4GuG59RGQ7YnRGvynTraCYnsrLeNdYH9JoQp5nOIkiZJfj9G8Agec0 fv/uMSaM1K+s9JOGjt8B5mr9lU35pwehBtC5gZlPaAR5weH/5UoJMl3yZ+ZfiOQrrZ8RoZWd 86bpJml82XQ+QsaC9/Nut4XpWVTH9Y+lSDX4pZnc/DKbipq/0Te4Y5iXBYoUm9Fii3hojxE4 I4lWapc6+seFvakdOw1C3G0GszlVEFM0OevzXOX6aR/w6BaGpdFLjoH4EweZOUlFuhL7W5m6 PZHMwpWSxK4lc290YqeZbZPoIMEFZy+VG8fkikIITDxK98DGMmGaIKToNhS0XE3m9xEGuvYa 4wBcz1zYR/cYhpJfFAKFJY5m+TujX76G9FagAvN+exrvC6Okkooj+CF3Nn9I7RmQe1PmUmVv CTe9nnRCRAGLt2PjzGC9xpAg8eWxHKiCNxOSOzQGvhCrleD/0BCITQvTXCp+8meq1CYaewCJ BlBksYphe1onKCxdfHmXhi/pnPCtBcYX9NKEusS4hyC0afS7ECSAW1sZi5MbpkqudE7QRQu1 0SVhJX5CDp3qrqXRHmBsLCOoluaMi8TNnIGeS4CQiMP/tb4rYc8yBnIS75LH6+8iNnoEji2x y2SpTI/gbQ7h9MEzKi98hbMhDfEjoPSUgc/6wHTX2SkxgB0foioY8qv81ezxfRKIZudT1KBl GMZgMXY5+cLZaxhjwSISeQJWbquvvCMNWSFhUY1RsZ5sTOw53SkYIZcpilkI1tkOdoFfjmvZ 1LPvQRW59lYO37CgbJLXr9dwv8ClcDIfekJnNiNBjaSSvCdrDO6wRw=
  • Ironport-hdrordr: A9a23:1i0Ora+M3m+m+ILKkzhuk+AoI+orL9Y04lQ7vn2ZKSY5TiVXra CTdZUgpHvJYVMqMk3I9uruBEDtex3hHP1OkOws1NWZLWrbUQKTRekP0WKL+Vbd8kbFh4xgPM lbEpSWc+eAamSTjazBkXWF+9RL+qj5zEh/792usUuETmtRGtBdBx8SMHf8LqXvLjM2f6bQEv Cnl7N6jgvlQ1s7ROKhCEIIWuDSzue76a4PMXY9dmYaABDlt0LS1ILH
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Wed, Jul 26, 2023 at 01:03:37PM +0200, Simone Ballarin wrote:
> From: Gianluca Luparini <gianluca.luparini@xxxxxxxxxxx>
> 
> The xen sources contains violations of MISRA C:2012 Rule 7.2 whose
> headline states:
> "A 'u' or 'U' suffix shall be applied to all integer constants
> that are represented in an unsigned type".
> 
> Add the 'U' suffix to integers literals with unsigned type and also to other
> literals used in the same contexts or near violations, when their positive
> nature is immediately clear. The latter changes are done for the sake of
> uniformity.
> 
> Signed-off-by: Gianluca Luparini <gianluca.luparini@xxxxxxxxxxx>
> Signed-off-by: Simone Ballarin <simone.ballarin@xxxxxxxxxxx>
> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>

Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Thanks, Roger.



 


Rackspace

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