diff options
| author | Dmitry Torokhov <[email protected]> | 2023-08-30 16:06:38 -0700 | 
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-08-30 16:06:38 -0700 | 
| commit | 1ac731c529cd4d6adbce134754b51ff7d822b145 (patch) | |
| tree | 143ab3f35ca5f3b69f583c84e6964b17139c2ec1 /drivers/s390/crypto/zcrypt_queue.c | |
| parent | 07b4c950f27bef0362dc6ad7ee713aab61d58149 (diff) | |
| parent | 54116d442e001e1b6bd482122043b1870998a1f3 (diff) | |
Merge branch 'next' into for-linus
Prepare input updates for 6.6 merge window.
Diffstat (limited to 'drivers/s390/crypto/zcrypt_queue.c')
| -rw-r--r-- | drivers/s390/crypto/zcrypt_queue.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/crypto/zcrypt_queue.c b/drivers/s390/crypto/zcrypt_queue.c index cdc5a4b2c019..112a80e8e6c2 100644 --- a/drivers/s390/crypto/zcrypt_queue.c +++ b/drivers/s390/crypto/zcrypt_queue.c @@ -44,7 +44,7 @@ static ssize_t online_show(struct device *dev,  	struct ap_queue *aq = to_ap_queue(dev);  	int online = aq->config && zq->online ? 1 : 0; -	return scnprintf(buf, PAGE_SIZE, "%d\n", online); +	return sysfs_emit(buf, "%d\n", online);  }  static ssize_t online_store(struct device *dev, @@ -84,7 +84,7 @@ static ssize_t load_show(struct device *dev,  {  	struct zcrypt_queue *zq = dev_get_drvdata(dev); -	return scnprintf(buf, PAGE_SIZE, "%d\n", atomic_read(&zq->load)); +	return sysfs_emit(buf, "%d\n", atomic_read(&zq->load));  }  static DEVICE_ATTR_RO(load);  |