[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] bitmap: fix n__ signess
- To: Stefano Stabellini <sstabellini@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Mon, 16 Oct 2023 12:21:43 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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=J0lq6V0PQ6+pL5KeMEiUHVXmdCbTV+gYoHGDBdiaa8M=; b=j5HicrgLLCBiRwuglFJvgAyeamXBJSZcLuJKSLk3XJ4NcbXUmSywidWKbDohRwKfYCNcVB0NYRlwF2H/WRp/3bMArzyRbuQW04sOdWwW7IeKf5eSKGu5Yd5HwG3Ppu0sLUuxw9TlWz9bvoq5Di69zVz82rERGNEJubdGuPZsIv0ANHgtqxl+hzxzubqTfVG0wvrE83bXlnNolxFw4jrKsUeoMSqy95VSXE5lS+0c0Jd5u+JBp1SK2bShsuv2Xn2QfAWVqE6PhUkfUafuAoxCpXGJmOCuKvm2X7Tik60Wk6PEZHFigYZQP4jDDCeAbAE2MllXvpbZUUyoSK4u0JWhmA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wixu2Oz3JbLOGH84B362omFXLuX23Z4AGQfrDOhfciIFGltiROtn3m5IkJ+HIvJpDWBJq7YU7iAVaRIfuW1teLOQrhzIn+Da0KJDX3GtJfcrmAWhTi2CNLxrlMnt2tOlWgEmcKEIzraKHcMvFNhxlx5DpiDxOAws17JCK18x6W9vYuxDPLMmOYYAVjXMhQMj9/VBhhKc2zbYykc71wnbJVH52DpDlqQNBqMsb2dqx7tbC/7EjCf1EF9kzM8Vaf3LDdlbpm88F0Ttfh/bEmuvWb/VaHpWtLeL0CQvgcKvRFFCmdHPVcBRmjLj2ed2H1TGiOJVNK5RjK9LCeVVrU/k2g==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, andrew.cooper3@xxxxxxxxxx, roger.pau@xxxxxxxxxx, bertrand.marquis@xxxxxxx, george.dunlap@xxxxxxxxxx, wl@xxxxxxx, Julien Grall <julien@xxxxxxx>
- Delivery-date: Mon, 16 Oct 2023 10:21:59 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 29.09.2023 23:13, Stefano Stabellini wrote:
> [PATCH v2] bitmap: fix nbits signess
>
> To avoid potentially dangerous sign conversions in bitmap_switch, all
> the callers of the bitmap_switch macro (which are all within bitmap.h)
> should pass an unsigned int as first parameter.
>
> Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
|