[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH -next] xen/pcpu: Use DEVICE_ATTR_RW macro
- To: YueHaibing <yuehaibing@xxxxxxxxxx>, jgross@xxxxxxxx, sstabellini@xxxxxxxxxx
- From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
- Date: Mon, 24 May 2021 08:48:53 -0400
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.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=HZm3Zn4yc2TvaiF4iqcad8aDOxnOocQRYrztVPiJ4U8=; b=At8/A6Rux06cXVHJMPxSXWkSu/NZ/9yeAH2MDDVWsi3/r+HVmNuQ57y8HbH1QazDsyBXXweRJ1uN9IUaGzBVHa7ZjfKUfDV69mg94xH+nokhqWKVAUc+ZMXkUkqUPuSl77DeXN5mW2IEdUUmaoGr/FBlHrUUbTIa32lkkfkwOQboWVe97diU+olvfgWoJZalBLY8Wv1rPzDcd2BUXW1ntPpmM2xI8AlHVsZRrDf2AN68jk8aBTmjqIrbf6Bwk85HyfnJC8JKQ4767BeZnn7gnrYrGblbOykfaaHluuLC2S1xzWYIaHOwRdDY29FIJXLPMpbW+B6XCrZGVZF0ktQQzA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eWqaQWmpaHE0pwX7k3K4bNFsYKDNshlb5Yc7I5582blSSlJyCfTIjROgggQKNDBamMZ1UqrY4JvQrL8s9mzw38tCjfVgehvBGj9kjtQgdeQQl2UECpiogamQbUPyDUGj+2knND+A2AqMYSluuwFpJyS3BfszBukYocsB/WR7c+sEvPYDsDF7G5gyVAe3C9GlN6O+4QaEAKpUBXaeHWByfxdccqaQ2dp/E+V1IxYnpPm5C8Q6vsX338LOsDZ3OkEAOD+50rY0Kg+1+Mole0Nc++WPPFiPEGPX3s49IYMmwhMVy/+qZ4mEtiECj3tpgmWRZlaGXQbexFIgUrxbn24KLg==
- Authentication-results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=oracle.com;
- Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
- Delivery-date: Mon, 24 May 2021 12:49:28 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 5/23/21 3:02 AM, YueHaibing wrote:
> Use DEVICE_ATTR_RW helper instead of plain DEVICE_ATTR,
> which makes the code a bit shorter and easier to read.
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
Do you think you can also make similar change in drivers/xen/xen-balloon.c and
drivers/xen/xenbus/xenbus_probe.c?
Thanks.
-boris
|