search for: sysfs_emit

Displaying 5 results from an estimated 5 matches for "sysfs_emit".

2023 Mar 01
1
[PATCH RESEND] drm/nouveau/hwmon: Use sysfs_emit in show function callsbacks
According to Documentation/filesystems/sysfs.rst, the show() callback function of kobject attributes should strictly use sysfs_emit() instead of sprintf() family functions. So, make this change. Issue identified using the coccinelle device_attr_show.cocci script. Signed-off-by: Deepak R Varma <drv at mailo.com> --- Note: Resending the patch for review and feedback. No functional changes. drivers/gpu/drm/nouveau/nou...
2023 Mar 07
0
[PATCH RESEND] drm/nouveau/hwmon: Use sysfs_emit in show function callsbacks
Reviewed-by: Lyude Paul <lyude at redhat.com> Will push upstream in a moment On Thu, 2023-03-02 at 01:05 +0530, Deepak R Varma wrote: > According to Documentation/filesystems/sysfs.rst, the show() callback > function of kobject attributes should strictly use sysfs_emit() instead > of sprintf() family functions. So, make this change. > Issue identified using the coccinelle device_attr_show.cocci script. > > Signed-off-by: Deepak R Varma <drv at mailo.com> > --- > Note: > Resending the patch for review and feedback. No functional chan...
2023 May 24
4
[PATCH 0/3] vhost-scsi: Fix IO hangs when using windows
The following patches were made over Linus's tree and fix an issue where windows guests will send iovecs with offset/lengths that result in IOs that are not aligned to 512. The LIO layer will then send them to Linux's block layer but it requires 512 byte alignment, so depending on the block driver being used we will get IO errors or hung IO. The following patches have vhost-scsi detect
2023 Feb 21
2
[GIT PULL] virtio,vhost,vdpa: features, fixes
...Sanjaya (3): docs: driver-api: virtio: parenthesize external reference targets docs: driver-api: virtio: slightly reword virtqueues allocation paragraph docs: driver-api: virtio: commentize spec version checking Bo Liu (1): vhost-scsi: convert sysfs snprintf and sprintf to sysfs_emit Colin Ian King (1): vdpa: Fix a couple of spelling mistakes in some messages Dmitry Fomichev (1): virtio-blk: add support for zoned block devices Eli Cohen (6): vdpa/mlx5: Move some definitions to a new header file vdpa/mlx5: Add debugfs subtree vdpa/mlx5: Add RX co...
2023 Feb 23
1
[GIT PULL] virtio,vhost,vdpa: features, fixes
...driver-api: virtio: parenthesize external reference targets > docs: driver-api: virtio: slightly reword virtqueues allocation paragraph > docs: driver-api: virtio: commentize spec version checking > > Bo Liu (1): > vhost-scsi: convert sysfs snprintf and sprintf to sysfs_emit > > Colin Ian King (1): > vdpa: Fix a couple of spelling mistakes in some messages > > Dmitry Fomichev (1): > virtio-blk: add support for zoned block devices > > Eli Cohen (6): > vdpa/mlx5: Move some definitions to a new header file > vdpa/ml...