bool Set_DtimPeriod_Proc(int param_1,undefined4 param_2)

{
  bool bVar1;
  short sVar2;
  
  sVar2 = simple_strtol(param_2,0,10)   //possible issue identified - semgrep
  bVar1 = (ushort)(sVar2 - 1U) < 0xff;
  if (bVar1) {
    *(char *)(param_1 + 0x16632) = (char)sVar2;
  }
  if (2 < RTDebugLevel) {
    printk("Set_DtimPeriod_Proc::(DtimPeriod=%d)\n",*(undefined1 *)(param_1 + 0x16632));
  }
  return bVar1;
}