Reduce size of several on-stack string buffers.
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 2 weeks
This commit is contained in:
parent
5f28c51db6
commit
4d4709520a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326835
@ -1411,7 +1411,7 @@ adasysctlinit(void *context, int pending)
|
||||
{
|
||||
struct cam_periph *periph;
|
||||
struct ada_softc *softc;
|
||||
char tmpstr[80], tmpstr2[80];
|
||||
char tmpstr[32], tmpstr2[16];
|
||||
|
||||
periph = (struct cam_periph *)context;
|
||||
|
||||
|
@ -340,7 +340,7 @@ pmpsysctlinit(void *context, int pending)
|
||||
{
|
||||
struct cam_periph *periph;
|
||||
struct pmp_softc *softc;
|
||||
char tmpstr[80], tmpstr2[80];
|
||||
char tmpstr[32], tmpstr2[16];
|
||||
|
||||
periph = (struct cam_periph *)context;
|
||||
if (cam_periph_acquire(periph) != CAM_REQ_CMP)
|
||||
|
@ -584,7 +584,7 @@ ndasysctlinit(void *context, int pending)
|
||||
{
|
||||
struct cam_periph *periph;
|
||||
struct nda_softc *softc;
|
||||
char tmpstr[80], tmpstr2[80];
|
||||
char tmpstr[32], tmpstr2[16];
|
||||
|
||||
periph = (struct cam_periph *)context;
|
||||
|
||||
|
@ -477,7 +477,7 @@ cdsysctlinit(void *context, int pending)
|
||||
{
|
||||
struct cam_periph *periph;
|
||||
struct cd_softc *softc;
|
||||
char tmpstr[80], tmpstr2[80];
|
||||
char tmpstr[32], tmpstr2[16];
|
||||
|
||||
periph = (struct cam_periph *)context;
|
||||
if (cam_periph_acquire(periph) != CAM_REQ_CMP)
|
||||
|
@ -1951,7 +1951,7 @@ dasysctlinit(void *context, int pending)
|
||||
{
|
||||
struct cam_periph *periph;
|
||||
struct da_softc *softc;
|
||||
char tmpstr[80], tmpstr2[80];
|
||||
char tmpstr[32], tmpstr2[16];
|
||||
struct ccb_trans_settings cts;
|
||||
|
||||
periph = (struct cam_periph *)context;
|
||||
|
@ -2296,7 +2296,7 @@ sasysctlinit(void *context, int pending)
|
||||
{
|
||||
struct cam_periph *periph;
|
||||
struct sa_softc *softc;
|
||||
char tmpstr[80], tmpstr2[80];
|
||||
char tmpstr[32], tmpstr2[16];
|
||||
|
||||
periph = (struct cam_periph *)context;
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user