hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/tty/hvc/hvcs.c
....@@ -47,7 +47,7 @@
4747 * using the 2.6 Linux kernel kref construct.
4848 *
4949 * For direction on installation and usage of this driver please reference
50
- * Documentation/powerpc/hvcs.txt.
50
+ * Documentation/powerpc/hvcs.rst.
5151 */
5252
5353 #include <linux/device.h>
....@@ -196,8 +196,6 @@
196196
197197 static const char hvcs_driver_name[] = "hvcs";
198198 static const char hvcs_device_node[] = "hvcs";
199
-static const char hvcs_driver_string[]
200
- = "IBM hvcs (Hypervisor Virtual Console Server) Driver";
201199
202200 /* Status of partner info rescan triggered via sysfs. */
203201 static int hvcs_rescan_status;
....@@ -871,8 +869,8 @@
871869 hvcsd->p_partition_ID = pi->partition_ID;
872870
873871 /* copy the null-term char too */
874
- strlcpy(&hvcsd->p_location_code[0],
875
- &pi->location_code[0], sizeof(hvcsd->p_location_code));
872
+ strlcpy(hvcsd->p_location_code, pi->location_code,
873
+ sizeof(hvcsd->p_location_code));
876874 }
877875
878876 /*