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

Re: [Xen-devel] [Non-DoD Source] [PATCH] xsm: fix clang build


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: "DeGraaf, Daniel G" <dgdegra@xxxxxxx>
  • Date: Fri, 7 Sep 2018 20:48:37 +0000
  • Accept-language: en-US
  • Cc: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>, 'Roger Pau Monne' <roger.pau@xxxxxxxxxx>
  • Delivery-date: Sat, 08 Sep 2018 06:35:57 +0000
  • Ironport-phdr: 9a23:EdEw7xZWGN2fUmiauAs9lL3/LSx+4OfEezUN459isYplN5qZpsy5Zh7h7PlgxGXEQZ/co6odzbaO7Oa4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahY75+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v9LlgRgP2hygbNj456GDXhdJ2jKJHuxKquhhzz5fJbI2JKPZye6XQct0ARWpFQ81fSSpPDI2hZIcLFuYNI/pUo4z7qlATrxWxGBOsCfvvxDFWm3H2waM03ecvEQ7E3QwvA90Av3vPodXpL6gfVfy5wLXUwTjBaf5dxDfz6JLPchAkufyAU7x+ftTQx0k1DQzKlFuQpZT4ND2bzOsNtWmb4PRkVemyimArpRx6rz+yyccjl4bGmI0Vykre+ihixoY1Pse3RFR0Yd6jDptdrieXPJZ1TMM6W2xkpTo2xqcYtZKmfCUG0oorywDdZvCdboSF4QrvWPuNLTtimn5pZbKyiwys/UWuyODwTNe43EtUoiZdj9XBt3QA2wbN5sWHRfZx5Eas1SyS2w3d6+xJJ10/m7DBJJ472LEwk4IesUHEHiDrhkr7lLSWdkA4+uiw7OTnf6nmqoecN4BqjgH+NbwjlMuiD+o6LAYCRmmV9+ah2LH680L3T6lHguErnqXDrJ/aIt4bprajDw9TyYYs8QyzDzih0NQGhXUHLVRFdwybj4XxJl3CPOr0Aemij1msijtn2e7KM7/7DpnQLXXPiLLhcqx8605Yxgoz19df55dMB74cL/L8R1H+tNPCDhAjKAG0xf3nB89n2oMRXmKPHLeVMLnOvl+Q+uIvP+6MaZcauTnjLfgp/uPhgmEnmVADeamkxp8XaHGjHvR6OEWVe3XtjckHEWcSpAo+S+7qh0OeXj5PfXqyWLg85j4jAoK8EYjDXpytgKCG3CqjA5JWaX1JBU6DEXfybYqJQOsMaSKOLc9hlTwIT76hS5Q72h20uw/6zKRnJPLO+iIErZLjyMR15+rLmBEo8jx0ANqS03uXQ2FshGwIWiQ707x+oUxh0FeD0Kd5j+ZEGtxU4vMaGjs9YNTMwuo/B93sVwbpetaSVE3gUtigGSs2TN8635kJeUk3U4GygxaG0ye0Drs9k72QGIdy4q/ax2L2Jct21zDBzqZ33Hc8Rc4af0GrqbR2/gaXT6LAlUSUk+6FP+xI0CHB+WiZxEKIp0geXwluB/aWFUsDb1fb+IyqrnjJSKWjXPF+aFNM
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHURSeiN4FO+h+dyE+I36YZeyPItqTlTb1Q
  • Thread-topic: [Non-DoD Source] [PATCH] xsm: fix clang build

> -----Original Message-----
> From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
> Sent: Wednesday, September 5, 2018 10:46 AM
> To: xen-devel@xxxxxxxxxxxxxxxxxxxx
> Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>; Daniel De Graaf 
> <dgdegra@xxxxxxxxxxxxx>
> Subject: [Non-DoD Source] [PATCH] xsm: fix clang build
> 
> ebitmap.c:244:32: error: invalid conversion specifier 'Z' 
> [-Werror,-Wformat-invalid-specifier]
>                "match my size %Zd (high bit was %d)\n", mapunit,
>                               ~^
> ebitmap.c:245:16: error: format specifies type 'int' but the argument has 
> type 'unsigned long'
>       [-Werror,-Wformat]
>                sizeof(u64) * 8, e->highbit);
>                ^~~~~~~~~~~~~~~
> ebitmap.c:245:33: error: data argument not used by format string 
> [-Werror,-Wformat-extra-args]
>                sizeof(u64) * 8, e->highbit);
> 
> Use %zd instead of %Zd, which is compliant with C99.
> 
> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Acked-by: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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